1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/zabbix/zabbix-agentd.initd
Kevin Daudt da34f4ee33 community/zabbix: modernize initd file
Use declarative style (no custom start/stop functions) and use a supervisor.

Improve packaging by copying files / directories instead of moving them,
making it easier to test packaging without having to rebuild everything.

Move the zabbix agentd configuration file from the openrc package to the
agent package where it belongs.
2019-10-17 04:42:46 +00:00

6 lines
112 B
Text

#!/sbin/openrc-run
command=/usr/sbin/zabbix_agentd
command_args_foreground="-f"
supervisor="supervise-daemon"