Added syslog's all.log rotation for OpenBSD

This commit is contained in:
Ossi Salmi 2011-10-14 16:14:43 +03:00 committed by Timo Mkinen
parent 6f17fb9013
commit 09084c977e
2 changed files with 14 additions and 1 deletions

View file

@ -1,5 +1,5 @@
/var/log/all.log {
create 0640 root <%= syslog_group %>
create 0640 root <%= group %>
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true