aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zabbix-agent2-alpine/zabbix-agent2.initd
blob: 5ea926e3265b82c4c713c46526c76fe60404bfb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/sbin/openrc-run

command=/usr/sbin/zabbix_agent2
supervisor="supervise-daemon"

start_pre() {
    checkpath --directory --owner zabbix:zabbix /run/zabbix/
    checkpath --directory --owner zabbix:zabbix /var/log/zabbix
}