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