zeus 4 years ago
parent
commit
f75380dfda
  1. 2
      supervisord-iot.conf

2
supervisord-iot.conf

@ -6,7 +6,7 @@ stdout_logfile=/var/log/ttyd.log
autorestart=true autorestart=true
[program:pm2] [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 stdout_logfile=/var/log/pm2.log
autorestart=true autorestart=true

Loading…
Cancel
Save