mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# From https://github.com/nextcloud/docker/blob/master/.examples/dockerfiles/full/fpm/supervisord.conf
|
|
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisord/supervisord.log
|
|
pidfile=/var/run/supervisord/supervisord.pid
|
|
childlogdir=/var/log/supervisord/
|
|
logfile_maxbytes=50MB ; maximum size of logfile before rotation
|
|
logfile_backups=10 ; number of backed up logfiles
|
|
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:cron]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/cron.sh
|
|
user=www-data
|
|
|
|
[program:run-exec-commands]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/run-exec-commands.sh
|
|
user=www-data
|
|
|
|
# This is a hack but no better solution is there
|
|
[program:is-nextcloud-online]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=nc -lk 9001
|
|
user=www-data
|