diff options
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 +} |