mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
8a7bcfe747
Signed-off-by: Simon L <szaimen@e.mail.de>
66 lines
1.6 KiB
Text
66 lines
1.6 KiB
Text
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisord/supervisord.log
|
|
pidfile=/var/run/supervisord/supervisord.pid
|
|
childlogdir=/var/log/supervisord/
|
|
logfile_maxbytes=50MB
|
|
logfile_backups=10
|
|
loglevel=error
|
|
user=root
|
|
|
|
[program:php-fpm]
|
|
# stdout_logfile=/dev/stdout
|
|
# stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=php-fpm
|
|
user=root
|
|
|
|
[program:apache]
|
|
# stdout_logfile=/dev/stdout
|
|
# stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=httpd -DFOREGROUND
|
|
user=root
|
|
|
|
[program:caddy]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/usr/bin/caddy run --config /Caddyfile
|
|
user=www-data
|
|
|
|
[program:cron]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/cron.sh
|
|
user=root
|
|
|
|
[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
|
|
user=root
|
|
|
|
[program:session-deduplicator]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/session-deduplicator.sh
|
|
user=root
|
|
|
|
[program:domain-validator]
|
|
# Logging is disabled as otherwise all attempts will be logged which spams the logs
|
|
# stdout_logfile=/dev/stdout
|
|
# stdout_logfile_maxbytes=0
|
|
# stderr_logfile=/dev/stderr
|
|
# stderr_logfile_maxbytes=0
|
|
command=php -S 127.0.0.1:9876 /var/www/docker-aio/php/domain-validator.php
|
|
user=www-data
|