mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-18 00:06:19 +00:00
Redirect roundcube logs to syslog
This commit is contained in:
parent
78ab422503
commit
41e5941d01
3 changed files with 10 additions and 21 deletions
|
|
@ -22,7 +22,7 @@ ${reset}"
|
|||
}
|
||||
|
||||
# Reset logs
|
||||
echo | tee /var/log/maillog /usr/share/webapps/roundcube/logs/errors.log >/dev/null
|
||||
echo | tee /var/log/maillog /var/log/maillog.debug >/dev/null
|
||||
syslogd -O /var/log/maillog
|
||||
|
||||
# Run all scripts in init folder
|
||||
|
|
@ -37,4 +37,4 @@ postfix reload &&
|
|||
echo -e "\n\e[1;32mMail service is ready\e[0m\n"
|
||||
|
||||
# Monitor log
|
||||
tail -f /var/log/maillog /usr/share/webapps/roundcube/logs/errors.log
|
||||
tail -f /var/log/maillog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue