Try log redirection another way

This commit is contained in:
Val
2015-07-26 22:19:24 +01:00
parent 8956bc8841
commit 16bd5e936f
6 changed files with 17 additions and 37 deletions

View File

@@ -47,6 +47,11 @@ chmod u+w /vmail
# Add password file
cp /mail_settings/passwords /etc/dovecot/passwd
ln -sf /dev/stdout /var/log/mail.log
ln -sf /dev/stdout /var/log/mail.info
ln -sf /dev/stdout /var/log/mail.warn
ln -sf /dev/stderr /var/log/mail.err
# Run boot scripts
for SCRIPT in /boot.d/*
do