|
@ -9,7 +9,8 @@ autorestart=true |
|
|
#environment = |
|
|
#environment = |
|
|
# NODE_PATH=/home/node/playground-myexample-nodejs/swarmlab-app/src/node_modules, |
|
|
# NODE_PATH=/home/node/playground-myexample-nodejs/swarmlab-app/src/node_modules, |
|
|
# myTEST=bar |
|
|
# myTEST=bar |
|
|
command=bash -c "sleep 5 && su -c 'home/%(ENV_USER)s/crond/playground-npm-run.sh' - node " |
|
|
#command=bash -c "sleep 5 && su -c 'home/%(ENV_USER)s/crond/playground-npm-run.sh' - node " |
|
|
|
|
|
command=bash -c "sleep 5 && su -m -l node -c '/home/%(ENV_USER)s/crond/playground-npm-run.sh' " |
|
|
#user=node |
|
|
#user=node |
|
|
stdout_logfile=/var/log/pm2.log |
|
|
stdout_logfile=/var/log/pm2.log |
|
|
autorestart=true |
|
|
autorestart=true |
|
|