From f75380dfdaf81d7366fcff1f9646673cf8d002ba Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 21 Nov 2020 20:12:15 +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 e37db16..facc913 100644 --- a/supervisord-iot.conf +++ b/supervisord-iot.conf @@ -6,7 +6,7 @@ stdout_logfile=/var/log/ttyd.log autorestart=true [program:pm2] -command=bash -c 'sleep 5 && pm2-runtime /home/$USER/crond/playground.config.js ' +command=bash -c 'sleep 5 && pm2-runtime /home/%(ENV_USER)s/crond/playground.config.js ' stdout_logfile=/var/log/pm2.log autorestart=true