Store logs to /data/logs

This commit is contained in:
Pierre Jaury
2016-02-21 19:48:40 +01:00
parent 9fc202006c
commit caab793716
3 changed files with 21 additions and 12 deletions

View File

@@ -1,6 +1,12 @@
[supervisord]
nodaemon = true
logfile = /var/log/supervisor/supervisord.log
logfile = /data/logs/supervisord.log
[program:nginx]
command = nginx -g 'daemon off;'
[program:rsyslog]
command = rsyslogd -n
[program:postfix]
command = /usr/lib/postfix/master -d
@@ -11,14 +17,12 @@ command = /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf -F
[program:spamassassin]
command = /usr/sbin/spamd
[program:rsyslog]
command = rsyslogd -n
[program:admin]
command = uwsgi --yaml /etc/uwsgi/apps-enabled/freeposte.yml
[program:nginx]
command = nginx -g 'daemon off;'
stdout_logfile = /data/logs/admin.log
stderr_logfile = /data/logs/admin-error.log
[program:webmail]
command = php5-fpm -F
stdout_logfile = /data/logs/php.log
stderr_logfile = /data/logs/php-error.log