2021-11-30 18:20:42 +08:00
|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
|
|
|
logfile=/var/log/supervisord/supervisord.log
|
|
|
|
pidfile=/var/run/supervisord/supervisord.pid
|
|
|
|
childlogdir=/var/log/supervisord/
|
|
|
|
logfile_maxbytes=50MB
|
2021-12-01 19:40:51 +08:00
|
|
|
logfile_backups=10
|
2021-11-30 18:20:42 +08:00
|
|
|
loglevel=error
|
2022-10-30 08:02:46 +08:00
|
|
|
user=root
|
2021-11-30 18:20:42 +08:00
|
|
|
|
2023-01-28 04:36:53 +08:00
|
|
|
[program:php-fpm]
|
|
|
|
# stdout_logfile=/dev/stdout
|
|
|
|
# stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
command=php-fpm
|
|
|
|
user=root
|
|
|
|
|
2021-11-30 18:20:42 +08:00
|
|
|
[program:apache]
|
2022-10-30 08:02:46 +08:00
|
|
|
# stdout_logfile=/dev/stdout
|
|
|
|
# stdout_logfile_maxbytes=0
|
2021-12-03 19:14:39 +08:00
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
2023-01-28 04:36:53 +08:00
|
|
|
command=httpd -DFOREGROUND
|
2022-10-30 08:02:46 +08:00
|
|
|
user=root
|
2021-11-30 18:20:42 +08:00
|
|
|
|
|
|
|
[program:caddy]
|
2021-12-03 19:14:39 +08:00
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
2022-10-30 08:02:46 +08:00
|
|
|
command=/usr/bin/caddy run --config /Caddyfile
|
|
|
|
user=www-data
|
2021-11-30 18:20:42 +08:00
|
|
|
|
|
|
|
[program:cron]
|
2021-12-03 19:14:39 +08:00
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
2021-11-30 18:20:42 +08:00
|
|
|
command=/cron.sh
|
2023-06-03 21:04:17 +08:00
|
|
|
user=root
|
2022-04-05 01:12:07 +08:00
|
|
|
|
|
|
|
[program:backup-time-file-watcher]
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
command=/backup-time-file-watcher.sh
|
2022-10-30 08:02:46 +08:00
|
|
|
user=root
|
2022-04-06 21:11:24 +08:00
|
|
|
|
|
|
|
[program:session-deduplicator]
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
command=/session-deduplicator.sh
|
2022-10-30 08:02:46 +08:00
|
|
|
user=root
|
2023-08-10 17:36:39 +08:00
|
|
|
|
|
|
|
[program:domain-validator]
|
2023-08-10 21:46:40 +08:00
|
|
|
# Logging is disabled as otherwise all attempts will be logged which spams the logs
|
2023-08-10 19:40:11 +08:00
|
|
|
# stdout_logfile=/dev/stdout
|
|
|
|
# stdout_logfile_maxbytes=0
|
2023-08-10 21:46:40 +08:00
|
|
|
# stderr_logfile=/dev/stderr
|
|
|
|
# stderr_logfile_maxbytes=0
|
2023-08-10 17:36:39 +08:00
|
|
|
command=php -S 127.0.0.1:9876 /var/www/docker-aio/php/domain-validator.php
|
|
|
|
user=www-data
|