diff options
Diffstat (limited to 'system/rsyslog/config/rsyslog.logrotate')
-rw-r--r-- | system/rsyslog/config/rsyslog.logrotate | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/rsyslog/config/rsyslog.logrotate b/system/rsyslog/config/rsyslog.logrotate new file mode 100644 index 0000000000..67001c527a --- /dev/null +++ b/system/rsyslog/config/rsyslog.logrotate @@ -0,0 +1,6 @@ +/var/log/cron /var/log/debug /var/log/maillog /var/log/messages /var/log/secure /var/log/spooler /var/log/syslog { + sharedscripts + postrotate + /bin/kill -HUP `cat /var/run/rsyslogd.pid 2>/dev/null` 2>/dev/null || true + endscript +} |