aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2020-06-19 20:58:21 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2020-06-19 21:12:13 +0000
commit789732353d25822ee5155694a9b97ed3edf82500 (patch)
treedffd5a43582625d3050d163027772b96fc19446b
parentd136fa314a9e040e08916816a1487497c45f1cf8 (diff)
downloadaports-789732353d25822ee5155694a9b97ed3edf82500.tar.gz
aports-789732353d25822ee5155694a9b97ed3edf82500.tar.bz2
aports-789732353d25822ee5155694a9b97ed3edf82500.tar.xz
community/zabbix: fix creation of /run/zabbix for zabbix-agentd
-rw-r--r--community/zabbix/APKBUILD4
-rw-r--r--community/zabbix/zabbix-agentd.initd3
2 files changed, 5 insertions, 2 deletions
diff --git a/community/zabbix/APKBUILD b/community/zabbix/APKBUILD
index feaed55ea5..503d83ce2a 100644
--- a/community/zabbix/APKBUILD
+++ b/community/zabbix/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=zabbix
pkgver=5.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="Enterprise-class open source distributed monitoring"
url="http://www.zabbix.com"
arch="all"
@@ -254,7 +254,7 @@ agent2_openrc() {
sha512sums="831920f49c9d8f6d1e0da7be82a2cca2007558ea73e35584939e77a1a9f517c4e5154676afff53f31d13f887d6369add960192bbdbdb40b7b56218a907528d66 zabbix-5.0.1.tar.gz
9998ee172a28002d98bacc3f76038ff52b8cf2b206e101418d76b4ca3de94afaf92cb4f7a6235ecf177f74beb9dd3ea1f3983c4f164b4f60bb601acba65aa175 zabbix-server.initd
9c06527bf653c40585fa7eeb3f7a0b2fc454031d24cd0d1633aed87b78a681c5227a193c5b9fcfcea0839135874e27ba7dd9b198573f905f680a2856f79e9512 zabbix-server.confd
-0d50795233ee469e36e9788f8685b16207a37f8a9370e6591688906176e7cb8387ce06f132d7e582a1757fdea7c584a70ccfac39a604da315d71121fa629cbb7 zabbix-agentd.initd
+7beca0fc6e254c1692e0e74deb9eb3d06ac78f5f6b08f3ab0491861e11e09f00f57bb4d22e11517dab86456e87bd13110805bfb38a715d2f1e68549937b29c76 zabbix-agentd.initd
e46e1e3ee64f9fe1d2a76572caa7d83b9c4112ce5daf1984216831574f007969de08568e76063a39f0ccb28651da27cd2a724522663767e0ec9008b08e362311 zabbix-agent2.initd
a26e7ac422ff60a4b8eed3603022c3a1bde640870bb9286ab061c3cb5c2fd7e91ddb317cb3d1cf61034adda0a080fc212ad416c9e2853a1deb03c5279753f4e2 zabbix-proxy.initd
9fc413b11a01c8202c7ee1c7950d6ca3de2d2d6cd01bea994cd4bc412533b53c4e4b1f58fc3c8df16ea70902053e278e2c5dcc936ce3e0a686a6eac62310ef53 zabbix-getloadavg.patch
diff --git a/community/zabbix/zabbix-agentd.initd b/community/zabbix/zabbix-agentd.initd
index 349b403d69..66d12377a3 100644
--- a/community/zabbix/zabbix-agentd.initd
+++ b/community/zabbix/zabbix-agentd.initd
@@ -4,3 +4,6 @@ command=/usr/sbin/zabbix_agentd
command_args_foreground="-f"
supervisor="supervise-daemon"
+start_pre() {
+ checkpath -d -m 0775 -o zabbix:zabbix /var/run/zabbix
+}