feat(Nextcloud/mariadb-redis-ffmpeg-example/supervisord.conf): Added supervisor file and config

This commit is contained in:
Daniel Rodriguez Monroy 2024-07-24 22:45:06 -06:00
parent 8d85943c50
commit 32b53da394
No known key found for this signature in database
GPG Key ID: FB27C03B6D12EB05
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
[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:apache2]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=apache2-foreground
[program:cron]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.sh