diff --git a/supervisord-iot.conf b/supervisord-iot.conf index f55fb2d..3068b58 100644 --- a/supervisord-iot.conf +++ b/supervisord-iot.conf @@ -1,6 +1,6 @@ [program:ttyd] #command=bash -c 'sleep 5 && cd /home/node && sudo -u node ttyd --ssl --ssl-cert /home/node/ssl-ttyd/ca.crt --ssl-key /home/mode/ssl-ttyd/ca.key -c user:%(ENV_PASSWORD)s -p 8088 -u node bash' -command=bash -c 'sleep 5 && cd /home/node && su -c \'ttyd --ssl --ssl-cert /home/node/ssl-ttyd/ca.crt --ssl-key /home/mode/ssl-ttyd/ca.key -c user:%(ENV_PASSWORD)s -p 8088 -u node bash\' - node ' +command=sleep 5 && cd /home/node && su -c 'ttyd --ssl --ssl-cert /home/node/ssl-ttyd/ca.crt --ssl-key /home/mode/ssl-ttyd/ca.key -c user:%(ENV_PASSWORD)s -p 8088 -u node bash' - node stdout_logfile=/var/log/ttyd.log autorestart=true