diff options
author | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-10-14 19:57:55 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-10-26 18:39:52 +0000 |
commit | cc818f3748b65d8fdbb398e2606fb2a2c7ce9461 (patch) | |
tree | 7cc0a074720445402bf9fbcf39a3c990b4a36a3f /community/zabbix/zabbix-agent2.initd | |
parent | b16f8914f301f38649513463743e623f935faa61 (diff) | |
download | aports-cc818f3748b65d8fdbb398e2606fb2a2c7ce9461.tar.bz2 aports-cc818f3748b65d8fdbb398e2606fb2a2c7ce9461.tar.xz |
community/zabbix: enable zabbix-agent2
This is a new agent written in go.
A patch is necessary to build for ppc64le and s390x. x86 is not working
yet, so the agent is not there.
Diffstat (limited to 'community/zabbix/zabbix-agent2.initd')
-rw-r--r-- | community/zabbix/zabbix-agent2.initd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/community/zabbix/zabbix-agent2.initd b/community/zabbix/zabbix-agent2.initd new file mode 100644 index 0000000000..4693ef4757 --- /dev/null +++ b/community/zabbix/zabbix-agent2.initd @@ -0,0 +1,8 @@ +#!/sbin/openrc-run + +command=/usr/sbin/zabbix_agent2 +supervisor="supervise-daemon" + +pre_start() { + checkpath --directory --owner zabbix:zabbix /var/log/zabbix +} |