From 440b72989b3a330594e689c3ef74ab3dbae85519 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 12 May 2010 17:44:57 +0200 Subject: system/apcupsd: Updated for version 3.14.5 --- system/apcupsd/apcupsd.logrotate | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 system/apcupsd/apcupsd.logrotate (limited to 'system/apcupsd/apcupsd.logrotate') diff --git a/system/apcupsd/apcupsd.logrotate b/system/apcupsd/apcupsd.logrotate new file mode 100644 index 0000000000000..507c9cdaf3526 --- /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 +} -- cgit v1.2.3