From 55472a1a9b67fdddef6a9669acdd38ef73caa108 Mon Sep 17 00:00:00 2001 From: Hanjo Meinhardt Date: Wed, 22 May 2019 20:04:03 +0200 Subject: [PATCH] clean up supervisord configuration --- supervisord.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/supervisord.conf b/supervisord.conf index 92b8f55..9e006e7 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -1,15 +1,21 @@ [supervisord] nodaemon=true +logfile=/var/log/supervisord.log +pidfile=/var/run/supervisord.pid [program:php-fpm7.2] command=/usr/sbin/php-fpm7.2 --nodaemonize +stdout_logfile=/var/log/%(program_name)s.stdout +stderr_logfile=/var/log/%(program_name)s.stderr [program:nginx] command=/usr/sbin/nginx -g "daemon off;" +stdout_logfile=/var/log/%(program_name)s.stdout +stderr_logfile=/var/log/%(program_name)s.stderr [program:ttrss-update-daemon] command=/usr/bin/php /var/www/update_daemon2.php user=www-data -stdout_logfile=/tmp/%(program_name)s.stdout -stderr_logfile=/tmp/%(program_name)s.stderr +stdout_logfile=/var/log/%(program_name)s.stdout +stderr_logfile=/var/log/%(program_name)s.stderr