aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/zabbix/files/zabbix_agentd.sh.in
blob: 0be45c4d2b660adeca6907e42f81bf63cda261fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"