From a4e9ec08bc28794f1df6ef44d2261ee127776fe5 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 4 Jun 2013 01:21:22 -0500 Subject: system/apcupsd: Added "missingok" to the logrotate script Signed-off-by: Robby Workman --- system/apcupsd/apcupsd.SlackBuild | 2 +- system/apcupsd/apcupsd.logrotate | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'system/apcupsd') diff --git a/system/apcupsd/apcupsd.SlackBuild b/system/apcupsd/apcupsd.SlackBuild index 8349f004e4..7d9975cbb4 100644 --- a/system/apcupsd/apcupsd.SlackBuild +++ b/system/apcupsd/apcupsd.SlackBuild @@ -27,7 +27,7 @@ PRGNAM=apcupsd VERSION=${VERSION:-3.14.10} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then diff --git a/system/apcupsd/apcupsd.logrotate b/system/apcupsd/apcupsd.logrotate index 507c9cdaf3..a68692f62b 100644 --- a/system/apcupsd/apcupsd.logrotate +++ b/system/apcupsd/apcupsd.logrotate @@ -2,6 +2,7 @@ rotate 4 weekly notifempty + missingok postrotate /etc/rc.d/rc.apcupsd restart 1>/dev/null || true endscript -- cgit v1.2.3