diff options
author | mario <mario@slackverse.org> | 2010-07-07 03:54:48 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-08 00:13:26 -0500 |
commit | 63bcc5c4ef689dc81024391b0ceaf39de0707b21 (patch) | |
tree | 55b0bd3a882ecf46561761291b04a82ff23879e0 /system/syslog-ng/syslog-ng.logrotate | |
parent | cfbd3757c04cfeabbdebc158663e45884a49cd7d (diff) |
system/syslog-ng: Added (syslogd replacment)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/syslog-ng/syslog-ng.logrotate')
-rw-r--r-- | system/syslog-ng/syslog-ng.logrotate | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/syslog-ng/syslog-ng.logrotate b/system/syslog-ng/syslog-ng.logrotate new file mode 100644 index 0000000000000..0305fc1f1132f --- /dev/null +++ b/system/syslog-ng/syslog-ng.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/syslog-ng.pid 2>/dev/null) 2>/dev/null || true + endscript +} |