summaryrefslogtreecommitdiff
path: root/system/syslog-ng/syslog-ng.logrotate
diff options
context:
space:
mode:
authormario <mario@slackverse.org>2010-07-07 03:54:48 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-08 00:13:26 -0500
commit63bcc5c4ef689dc81024391b0ceaf39de0707b21 (patch)
tree55b0bd3a882ecf46561761291b04a82ff23879e0 /system/syslog-ng/syslog-ng.logrotate
parentcfbd3757c04cfeabbdebc158663e45884a49cd7d (diff)
downloadslackbuilds-63bcc5c4ef689dc81024391b0ceaf39de0707b21.tar.gz
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.logrotate6
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 0000000000..0305fc1f11
--- /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
+}