diff options
Diffstat (limited to 'net-mgmt/zabbix2-agent/files/zabbix_agentd.in')
-rw-r--r-- | net-mgmt/zabbix2-agent/files/zabbix_agentd.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-mgmt/zabbix2-agent/files/zabbix_agentd.in b/net-mgmt/zabbix2-agent/files/zabbix_agentd.in new file mode 100644 index 000000000000..0be45c4d2b66 --- /dev/null +++ b/net-mgmt/zabbix2-agent/files/zabbix_agentd.in @@ -0,0 +1,17 @@ +#!/bin/sh +# PROVIDE: zabbix_agentd +# REQUIRE: DAEMON +# KEYWORD: shutdown + +. %%RC_SUBR%% + +name="zabbix_agentd" +rcvar=${name}_enable +load_rc_config $name +eval : \${${rcvar}='NO'} + +command="%%PREFIX%%/bin/${name}" +required_files="%%PREFIX%%/etc/zabbix/${name}.conf" + + +run_rc_command "$1" |