1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh # PROVIDE: zabbix_server # REQUIRE: DAEMON # KEYWORD: shutdown . %%RC_SUBR%% name="zabbix_server" 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"