aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2020-11-04 13:16:28 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2020-11-04 13:16:28 +0000
commitceb92fd6cb141f257d0b1130cbb878f182b5df86 (patch)
treec28f8ad0264d0d8a40fb09a0005f7c8ac0e0979f
parentf2289d518d789cf30e6f51318b7c9914f04c442e (diff)
downloadaports-ceb92fd6cb141f257d0b1130cbb878f182b5df86.tar.gz
aports-ceb92fd6cb141f257d0b1130cbb878f182b5df86.tar.bz2
aports-ceb92fd6cb141f257d0b1130cbb878f182b5df86.tar.xz
community/zabbix: rundir is needed for control socket
Fix OpenRC function name
-rw-r--r--community/zabbix/APKBUILD4
-rw-r--r--community/zabbix/zabbix-agent2.initd3
2 files changed, 4 insertions, 3 deletions
diff --git a/community/zabbix/APKBUILD b/community/zabbix/APKBUILD
index 97dd57cbb8..09275085ea 100644
--- a/community/zabbix/APKBUILD
+++ b/community/zabbix/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=zabbix
pkgver=4.4.10
-pkgrel=0
+pkgrel=1
pkgdesc="Enterprise-class open source distributed monitoring"
url="http://www.zabbix.com"
arch="all"
@@ -236,7 +236,7 @@ sha512sums="4a10d386a35b319da4d883878d3d4287d0fabcc07a1cb837d050d089496d933e91f5
9998ee172a28002d98bacc3f76038ff52b8cf2b206e101418d76b4ca3de94afaf92cb4f7a6235ecf177f74beb9dd3ea1f3983c4f164b4f60bb601acba65aa175 zabbix-server.initd
9c06527bf653c40585fa7eeb3f7a0b2fc454031d24cd0d1633aed87b78a681c5227a193c5b9fcfcea0839135874e27ba7dd9b198573f905f680a2856f79e9512 zabbix-server.confd
0d50795233ee469e36e9788f8685b16207a37f8a9370e6591688906176e7cb8387ce06f132d7e582a1757fdea7c584a70ccfac39a604da315d71121fa629cbb7 zabbix-agentd.initd
-fad1bbe50ae42e02b73bcae8f7d91c7e18fb387eba551f9216c844c298003290aaec3bc17239590210cc100d6f39e25a5bba539e99df605de9a98abf5418be66 zabbix-agent2.initd
+80e58c77172cd761478668d87e624301e424e4bf961f27c04e9994c7a25e9f22c11a1714e1be1b1374b053d555d1cd2e57ea24ce41b602a1f6ee34d38b2a9a1e zabbix-agent2.initd
a26e7ac422ff60a4b8eed3603022c3a1bde640870bb9286ab061c3cb5c2fd7e91ddb317cb3d1cf61034adda0a080fc212ad416c9e2853a1deb03c5279753f4e2 zabbix-proxy.initd
9fc413b11a01c8202c7ee1c7950d6ca3de2d2d6cd01bea994cd4bc412533b53c4e4b1f58fc3c8df16ea70902053e278e2c5dcc936ce3e0a686a6eac62310ef53 zabbix-getloadavg.patch
7f70dfd602aa164ec8cc65ebb7e8274c685975f6aea9051933928051b8d9b6e368e5a673a07e7084a2105468c5085d72fa7b9f934460f10648d594f28f031a91 automake.patch
diff --git a/community/zabbix/zabbix-agent2.initd b/community/zabbix/zabbix-agent2.initd
index 4693ef4757..9f92235ed5 100644
--- a/community/zabbix/zabbix-agent2.initd
+++ b/community/zabbix/zabbix-agent2.initd
@@ -3,6 +3,7 @@
command=/usr/sbin/zabbix_agent2
supervisor="supervise-daemon"
-pre_start() {
+start_pre() {
checkpath --directory --owner zabbix:zabbix /var/log/zabbix
+ checkpath --directory --owner zabbix:zabbix /run/zabbix
}