Files
NewSzxcn-Email/deploy/all-in-one/supervisord.conf
T

66 lines
1.5 KiB
Plaintext
Raw Normal View History

2026-06-15 00:57:34 +08:00
[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
pidfile=/run/supervisord.pid
[program:api]
command=/usr/local/bin/lanqin-api
autostart=true
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
priority=10
[program:dovecot]
command=/usr/sbin/dovecot -F
autostart=true
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
priority=20
[program:rspamd-dkim-sync]
command=/usr/local/bin/lanqin-rspamd-sync-dkim
2026-06-15 00:57:34 +08:00
autostart=true
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
priority=30
[program:rspamd]
command=/bin/sh -c 'if id _rspamd >/dev/null 2>&1; then exec /usr/bin/rspamd -f -u _rspamd -g _rspamd; elif id rspamd >/dev/null 2>&1; then exec /usr/bin/rspamd -f -u rspamd -g rspamd; else exec /usr/bin/rspamd -f --insecure; fi'
autostart=true
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
priority=35
2026-06-15 00:57:34 +08:00
[program:postfix]
command=/usr/sbin/postfix start-fg
autostart=true
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
priority=40
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
autostart=true
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
priority=50