From a3e6ab6afbb7231d271bb89d015e2fb8e47bf2de Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 21 Nov 2020 18:37:44 +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 3068b58..f03a68f 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=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/node/ssl-ttyd/ca.key -c user:%\(ENV_PASSWORD\)s -p 8088 -u node bash' - node stdout_logfile=/var/log/ttyd.log autorestart=true