Store logs to /data/logs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user