38 lines
737 B
Text
38 lines
737 B
Text
|
|
[supervisord]
|
||
|
|
nodaemon=true
|
||
|
|
user=root
|
||
|
|
logfile=/var/log/supervisor/supervisord.log
|
||
|
|
pidfile=/var/run/supervisord.pid
|
||
|
|
|
||
|
|
[program:nginx]
|
||
|
|
command=nginx -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
|
||
|
|
|
||
|
|
[program:proxy-manager]
|
||
|
|
command=bun index.ts
|
||
|
|
directory=/app
|
||
|
|
autostart=true
|
||
|
|
autorestart=true
|
||
|
|
priority=20
|
||
|
|
stdout_logfile=/dev/stdout
|
||
|
|
stdout_logfile_maxbytes=0
|
||
|
|
stderr_logfile=/dev/stderr
|
||
|
|
stderr_logfile_maxbytes=0
|
||
|
|
environment=NODE_ENV=production
|
||
|
|
|
||
|
|
[program:cron]
|
||
|
|
command=cron -f
|
||
|
|
autostart=true
|
||
|
|
autorestart=true
|
||
|
|
priority=5
|
||
|
|
stdout_logfile=/dev/stdout
|
||
|
|
stdout_logfile_maxbytes=0
|
||
|
|
stderr_logfile=/dev/stderr
|
||
|
|
stderr_logfile_maxbytes=0
|