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