mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
12 lines
330 B
Plaintext
12 lines
330 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
command=/usr/sbin/zabbix_agent2
|
|
supervisor="supervise-daemon"
|
|
command_user="zabbix:zabbix"
|
|
|
|
start_pre() {
|
|
checkpath --directory --owner zabbix:zabbix /run/zabbix/
|
|
checkpath --file --owner zabbix:zabbix /var/log/zabbix/zabbix_agent2.log
|
|
checkpath --directory --owner zabbix:zabbix /var/log/zabbix
|
|
}
|