diff options
author | Andris Mednis <Andris.Mednis@zabbix.com> | 2012-06-05 12:52:43 +0400 |
---|---|---|
committer | Andris Mednis <Andris.Mednis@zabbix.com> | 2012-06-05 12:52:43 +0400 |
commit | d779f8c6516b704fd44ce04265ffe174e9bdd07f (patch) | |
tree | 394e27ad8eb778367d0e048a1cc7748d709d3c24 /misc | |
parent | 3834b761b05e7bdbea11447c56b091b5c0532a29 (diff) |
....I..... [ZBX-5058] updated init.d (rc.d) scripts for FreeBSD
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/init.d/freebsd/zabbix_agentd | 5 | ||||
-rwxr-xr-x | misc/init.d/freebsd/zabbix_server | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/misc/init.d/freebsd/zabbix_agentd b/misc/init.d/freebsd/zabbix_agentd index c092d72b797..ffb0ccb4ba5 100755 --- a/misc/init.d/freebsd/zabbix_agentd +++ b/misc/init.d/freebsd/zabbix_agentd @@ -1,10 +1,13 @@ #!/bin/sh +# REQUIRE: DAEMON +# PROVIDE: zabbix_agentd + . /etc/rc.subr name="zabbix_agentd" -load_rc_config ${name} rcvar=`set_rcvar` command="${prefix:-"/usr/local"}/sbin/${name}" +load_rc_config ${name} run_rc_command "$1" diff --git a/misc/init.d/freebsd/zabbix_server b/misc/init.d/freebsd/zabbix_server index ee6d9ed090a..314ffc8e222 100755 --- a/misc/init.d/freebsd/zabbix_server +++ b/misc/init.d/freebsd/zabbix_server @@ -1,10 +1,13 @@ #!/bin/sh +# REQUIRE: DAEMON +# PROVIDE: zabbix_server + . /etc/rc.subr name="zabbix_server" -load_rc_config ${name} rcvar=`set_rcvar` command="${prefix:-"/usr/local"}/sbin/${name}" +load_rc_config ${name} run_rc_command "$1" |