summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-06-04 01:21:22 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-06-05 03:17:30 -0500
commita4e9ec08bc28794f1df6ef44d2261ee127776fe5 (patch)
tree1333e9861d8142540151f44741dc093d013eddb7
parent49f66ceb906b066a294d6afc2111fb8bb8486933 (diff)
downloadslackbuilds-a4e9ec08bc28794f1df6ef44d2261ee127776fe5.tar.gz
system/apcupsd: Added "missingok" to the logrotate script
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/apcupsd/apcupsd.SlackBuild2
-rw-r--r--system/apcupsd/apcupsd.logrotate1
2 files changed, 2 insertions, 1 deletions
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