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

4
supervisord-iot.conf

@ -6,7 +6,9 @@ stdout_logfile=/var/log/ttyd.log
autorestart=true
[program:pm2]
#command=bash -c 'sleep 5 && pm2-runtime /home/%(ENV_USER)s/crond/playground.config.js '
environment =
NODE_PATH=/home/node/playground-myexample-nodejs/swarmlab-app/src/node_modules,
myTEST=bar
command=bash -c 'sleep 5 && /home/%(ENV_USER)s/crond/playground-npm-run.sh '
user=node
stdout_logfile=/var/log/pm2.log

Loading…
Cancel
Save