summaryrefslogtreecommitdiff
path: root/pcr/ulogd2/logrotate
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-12-09 17:00:33 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-12-09 17:00:33 -0500
commitbf7b1c01ce324e441d85d9706dfca6208c824f9d (patch)
treee856afb7f1f6dd2c3c50b4c1a71400ae2a29aca4 /pcr/ulogd2/logrotate
parent918b51b44f8d1a299f7f0fbce1f58491804c9f80 (diff)
parenta16a7fa77c16e8e6c5abcdca28a2970f77ea8650 (diff)
downloadabslibre-bf7b1c01ce324e441d85d9706dfca6208c824f9d.tar.gz
abslibre-bf7b1c01ce324e441d85d9706dfca6208c824f9d.tar.bz2
abslibre-bf7b1c01ce324e441d85d9706dfca6208c824f9d.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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
+}