From 2bfdd2760b08a2c950862d5b67078aa8c9ab2bf9 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 21 Nov 2020 18:51:25 +0200 Subject: [PATCH] set --- supervisord-iot.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/supervisord-iot.conf b/supervisord-iot.conf index f03a68f..e37db16 100644 --- a/supervisord-iot.conf +++ b/supervisord-iot.conf @@ -1,6 +1,7 @@ [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=sleep 5 && cd /home/node && su -c 'ttyd --ssl --ssl-cert /home/node/ssl-ttyd/ca.crt --ssl-key /home/node/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/node/ssl-ttyd/ca.key -c user:%(ENV_PASSWORD)s -p 8088 -u node bash' - node +command=bash -c "sleep 5 && cd /home/node && su -c 'ttyd --ssl --ssl-cert /home/node/ssl-ttyd/ca.crt --ssl-key /home/node/ssl-ttyd/ca.key -c user:%(ENV_PASSWORD)s -p 8088 -u node bash' - node" stdout_logfile=/var/log/ttyd.log autorestart=true