Initial packaging
This commit is contained in:
30
supervisord.conf
Normal file
30
supervisord.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
user=root
|
||||
logfile=/dev/null
|
||||
pidfile=/run/supervisord.pid
|
||||
|
||||
[program:nginx]
|
||||
command=/usr/sbin/nginx -c /app/code/nginx.conf -g 'daemon off;'
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=10
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
stopsignal=QUIT
|
||||
|
||||
[program:affine]
|
||||
command=/app/code/run-affine.sh
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startsecs=5
|
||||
priority=20
|
||||
user=cloudron
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
redirect_stderr=true
|
||||
stopsignal=TERM
|
||||
Reference in New Issue
Block a user