1 2 3 4 5 6 7 8
#!/sbin/openrc-run command=/usr/sbin/zabbix_agent2 supervisor="supervise-daemon" pre_start() { checkpath --directory --owner zabbix:zabbix /var/log/zabbix }