zeus 4 years ago
parent
commit
39bdf22b07
  1. 1
      supervisord-iot.conf

1
supervisord-iot.conf

@ -8,6 +8,7 @@ autorestart=true
[program:pm2] [program:pm2]
#command=bash -c 'sleep 5 && pm2-runtime /home/%(ENV_USER)s/crond/playground.config.js ' #command=bash -c 'sleep 5 && pm2-runtime /home/%(ENV_USER)s/crond/playground.config.js '
command=bash -c 'sleep 5 && /home/%(ENV_USER)s/crond/playground-npm-run.sh ' command=bash -c 'sleep 5 && /home/%(ENV_USER)s/crond/playground-npm-run.sh '
user=node
stdout_logfile=/var/log/pm2.log stdout_logfile=/var/log/pm2.log
autorestart=true autorestart=true

Loading…
Cancel
Save