From f7e017d57f39f3ca7f8bd0499c9b4295b1f2f955 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 21 Nov 2020 17:57:00 +0200 Subject: [PATCH] set --- supervisord-iot.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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