summaryrefslogtreecommitdiff
path: root/pcr/ulogd2/logrotate
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-12-09 22:37:06 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-12-09 22:37:06 -0200
commitc590bfc998aa4eaacfbe2ba862ea5e071879a423 (patch)
treedc4827513bc1083568be9b043775da31d2fb4075 /pcr/ulogd2/logrotate
parent2dc41c2e7173d96fe9875438302eb541e0f76fb8 (diff)
parentbf7b1c01ce324e441d85d9706dfca6208c824f9d (diff)
downloadabslibre-c590bfc998aa4eaacfbe2ba862ea5e071879a423.tar.gz
abslibre-c590bfc998aa4eaacfbe2ba862ea5e071879a423.tar.bz2
abslibre-c590bfc998aa4eaacfbe2ba862ea5e071879a423.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
+}