diff options
Diffstat (limited to 'extra/sysklogd/syslog.logrotate')
-rw-r--r-- | extra/sysklogd/syslog.logrotate | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/sysklogd/syslog.logrotate b/extra/sysklogd/syslog.logrotate new file mode 100644 index 000000000..b3d8d8552 --- /dev/null +++ b/extra/sysklogd/syslog.logrotate @@ -0,0 +1,6 @@ +/var/log/messages /var/log/auth /var/log/mail /var/log/errors /var/log/kernel { + sharedscripts + postrotate + /bin/kill -HUP `cat /var/run/syslogd.pid 2>/dev/null` 2> /dev/null || true + endscript +} |