summaryrefslogtreecommitdiff
path: root/pcr/ulogd2/logrotate
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2012-12-09 20:39:48 +0100
committeraurelien <aurelien@cwb.io>2012-12-09 20:39:48 +0100
commita16a7fa77c16e8e6c5abcdca28a2970f77ea8650 (patch)
tree6bace26b03b725c26c83959e00960b882e707330 /pcr/ulogd2/logrotate
parent25a2a99e4df571eca8de81e38b7afab62972e991 (diff)
downloadabslibre-a16a7fa77c16e8e6c5abcdca28a2970f77ea8650.tar.gz
abslibre-a16a7fa77c16e8e6c5abcdca28a2970f77ea8650.tar.bz2
abslibre-a16a7fa77c16e8e6c5abcdca28a2970f77ea8650.zip
+ ulogd2
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
+}