summaryrefslogtreecommitdiff
path: root/community/ulogd/ulogd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community/ulogd/ulogd.logrotate')
-rw-r--r--community/ulogd/ulogd.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/ulogd/ulogd.logrotate b/community/ulogd/ulogd.logrotate
new file mode 100644
index 000000000..312c71acb
--- /dev/null
+++ b/community/ulogd/ulogd.logrotate
@@ -0,0 +1,10 @@
+/var/log/ulogd.log /var/log/ulogd.syslogemu {
+ missingok
+ notifempty
+ sharedscripts
+ create 0640 root root
+
+ postrotate
+ [ -e /var/run/ulogd.pid ] && /etc/rc.d/ulogd restart > /dev/null
+ endscript
+}