From cc611d9959c6f191415276ddf7a5d8c037bf3c9a Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 9 Apr 2023 16:52:44 -0300 Subject: [PATCH] supervisord.conf --- supervisord.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 supervisord.conf diff --git a/supervisord.conf b/supervisord.conf new file mode 100644 index 0000000..40757b2 --- /dev/null +++ b/supervisord.conf @@ -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 \ No newline at end of file