aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniele Coli <danielsan.dani@gmail.com>2017-04-22 22:32:24 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-25 08:13:11 +0000
commit040774a6b048d76975702dc47d0fec40c192fc26 (patch)
treec28eacc85bcc549b0242e621b2bd4336d823f58f
parentb34a83fe470449a951874948bf4d583b888e6397 (diff)
downloadaports-040774a6b048d76975702dc47d0fec40c192fc26.tar.bz2
aports-040774a6b048d76975702dc47d0fec40c192fc26.tar.xz
main/busybox: fixed logrotate script for acpid
Added the check --ifstarted on postrotate script in order to not start the daemon if it is stopped.
-rw-r--r--main/busybox/APKBUILD4
-rw-r--r--main/busybox/acpid.logrotate2
2 files changed, 3 insertions, 3 deletions
diff --git a/main/busybox/APKBUILD b/main/busybox/APKBUILD
index cdaf1d37b6..4b29b9ecfe 100644
--- a/main/busybox/APKBUILD
+++ b/main/busybox/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox
pkgver=1.26.2
-pkgrel=1
+pkgrel=2
pkgdesc="Size optimized toolbox of many common UNIX utilities"
url=http://busybox.net
arch="all"
@@ -164,7 +164,7 @@ f82caa1dc4395f266b024a7face267a916a80ead95f3d392b10fd397d0fdf62703e3078357bc7196
bf3e7c400e718fbc19fda19d7304ed938e5c59f45d5d1ba6eafd8f62a984d40419dbefd9f6840ac7f220d00abfae67e8f31be78b4c2e25310b265bca8beb91a2 0013-ash-make-shellexec-capable-of-using-separate-argv-0-.patch
cb7aa4d5d22596bc8c6510cb653599dd8cf4c3a5312e93adfc6411d811376db2ad3b506a111322f46aa9929a5337e22a169da4ea250fd4b39e703adbc8792a2d 0014-ash-implement-exec-a-ARGV0-CMD-ARGV1.patch
f26e090f5de0096ba5c4d46989ebe0ab5fa64c8bf54cd37ddec302fddfde23eac914858d86cc52bf3b5780a8e81ea2612ef6e713df2828e52c606f86a6816f39 location-for-cpio.patch
-dadb4c953ebc755b88ee95c1489feb0c2d352f6e44abc716166024e6eea11ab9d10c84fad62c081775834d205cb04aa1be3c994676c88f4284495c54b9188e8b acpid.logrotate
+a9b1403c844c51934637215307dd9e2adb9458921047acff0d86dcf229b6e0027f4b2c6cdaa25a58407aad9d098fb5685d58eb5ff8d2aa3de4912cdea21fe54c acpid.logrotate
d4b9f4a09dcf08ec9f7a66c5250465e3a6dd9beb15140a462a1464110824426c732399e4dab4e6a33073626d4db0e76085b218cd0521027e57ce9f918ff1af29 busyboxconfig
c1dd56509277c59751907a27f067f1622191ddfd498acfe390d83136d36a41f2bdfc2fd4daf35af77219a66fb00fea20483f34112afd5df2ccd9f36ab548e66f bbsuid.c
a1127c8a384294135e11500fde7ead33b73d24b11c21911b08447a4c4ef71d7a9965d6466f60f2da64e3b877213b0a3e924a5add3c5333ee3ecde8c2a91c5e02 dad.if-up
diff --git a/main/busybox/acpid.logrotate b/main/busybox/acpid.logrotate
index 5d12331a3d..a377635402 100644
--- a/main/busybox/acpid.logrotate
+++ b/main/busybox/acpid.logrotate
@@ -3,6 +3,6 @@
notifempty
sharedscripts
postrotate
- /etc/init.d/acpid -q restart
+ /etc/init.d/acpid --ifstarted restart || true
endscript
}