digitaldemocratic/dd-apps/docker/nextcloud/supervisord.conf

37 lines
994 B
Plaintext
Raw Permalink Normal View History

[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
[program:php-fpm]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=php-fpm
[program:cron]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.sh
; Add our customisation scripts
; Note these run *after* Nextcloud's upgrade logic and in parallel to php-fpm startup
[program:nc-setup]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
startsecs=0
priority=100
user=www-data
environment=USER="www-data",HOME="/home/www-data"
directory=/var/www/html
command=/nc-setup.sh