summaryrefslogtreecommitdiff
path: root/system/apcupsd/apcupsd.logrotate
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 17:44:57 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:44:57 +0200
commit440b72989b3a330594e689c3ef74ab3dbae85519 (patch)
tree634e761f7c8e360e84bfdf13d1fc121eb842192a /system/apcupsd/apcupsd.logrotate
parent7e7696327cd7233cec689563f77e01223710b69c (diff)
downloadslackbuilds-440b72989b3a330594e689c3ef74ab3dbae85519.tar.gz
system/apcupsd: Updated for version 3.14.5
Diffstat (limited to 'system/apcupsd/apcupsd.logrotate')
-rw-r--r--system/apcupsd/apcupsd.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/apcupsd/apcupsd.logrotate b/system/apcupsd/apcupsd.logrotate
new file mode 100644
index 0000000000..507c9cdaf3
--- /dev/null
+++ b/system/apcupsd/apcupsd.logrotate
@@ -0,0 +1,8 @@
+/var/log/apcupsd.events {
+ rotate 4
+ weekly
+ notifempty
+ postrotate
+ /etc/rc.d/rc.apcupsd restart 1>/dev/null || true
+ endscript
+}