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

14
supervisord-iot.conf

@ -7,3 +7,17 @@ autorestart=true
command=bash -c 'sleep 5 && pm2-runtime /home/$USER/crond/playground.config.js ' command=bash -c 'sleep 5 && pm2-runtime /home/$USER/crond/playground.config.js '
stdout_logfile=/var/log/pm2.log stdout_logfile=/var/log/pm2.log
autorestart=true autorestart=true
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
autostart=true
autorestart=true
startretries=5
#numprocs=1
#startsecs=0
#process_name=%(program_name)s_%(process_num)02d
stderr_logfile=/var/log/%(program_name)s_stderr.log
stderr_logfile_maxbytes=10MB
stdout_logfile=/var/log/%(program_name)s_stdout.log
stdout_logfile_maxbytes=10MB

Loading…
Cancel
Save