Updated supervisord conf files: - changed Node LTS version to 18.12.0 - added files for extra workers - added groups corresponding to the `start-production` and `stop-production` filesmaster
parent
691d55b2e0
commit
f97c528882
@ -0,0 +1,16 @@
|
||||
[group:sites-chat]
|
||||
programs=dtp-sites-chat
|
||||
|
||||
[program:dtp-sites-chat]
|
||||
numprocs=1
|
||||
process_name=%(program_name)s_%(process_num)02d
|
||||
command=/home/dtp/.nvm/versions/node/v18.12.0/bin/node --optimize_for_size --max_old_space_size=1024 --gc_interval=100 app/workers/chat.js
|
||||
directory=/home/dtp/live/dtp-sites
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startretries=3
|
||||
stopsignal=INT
|
||||
stderr_logfile=/var/log/dtp-sites/host-services.err.log
|
||||
stdout_logfile=/var/log/dtp-sites/host-services.out.log
|
||||
user=dtp
|
||||
environment=HOME='/home/dtp/live/dtp-sites',HTTP_BIND_PORT=30%(process_num)02d,NODE_ENV=production,LOGNAME=host-services
|
@ -0,0 +1,17 @@
|
||||
|
||||
[group:sites-media]
|
||||
programs=dtp-sites-media
|
||||
|
||||
[program:dtp-sites-media]
|
||||
numprocs=1
|
||||
process_name=%(program_name)s_%(process_num)02d
|
||||
command=/home/dtp/.nvm/versions/node/v18.12.0/bin/node --optimize_for_size --max_old_space_size=1024 --gc_interval=100 app/workers/media.js
|
||||
directory=/home/dtp/live/dtp-sites
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startretries=3
|
||||
stopsignal=INT
|
||||
stderr_logfile=/var/log/dtp-sites/host-services.err.log
|
||||
stdout_logfile=/var/log/dtp-sites/host-services.out.log
|
||||
user=dtp
|
||||
environment=HOME='/home/dtp/live/dtp-sites',HTTP_BIND_PORT=30%(process_num)02d,NODE_ENV=production,LOGNAME=host-services
|
Loading…
Reference in new issue