c679424d17
WMI client 1.3.16 - a WMI (Windows Management Instrumentation) client which is needed for Pandora FMS. Submitted by: KIKUCHI Koichiro <koichiro@rworks.jp> Junichi Satoh <junichi@junichi.org> WWW; http://pandorafms.org/ Feature safe: yes
29 lines
526 B
Bash
29 lines
526 B
Bash
#!/bin/sh
|
|
|
|
# PROVIDE: pandora_server
|
|
# REQUIRE: LOGIN mysql
|
|
# KEYWORD: shutdown
|
|
|
|
# Add the following line to /etc/rc.conf to enable `pandora_server':
|
|
#
|
|
# pandora_server_enable="YES"
|
|
#
|
|
|
|
. "/etc/rc.subr"
|
|
|
|
name="pandora_server"
|
|
rcvar=`set_rcvar`
|
|
load_rc_config $name
|
|
|
|
# set defaults
|
|
: ${pandora_server_enable:=NO}
|
|
|
|
pidfile=/var/run/$name.pid
|
|
|
|
required_files="%%ETCDIR%%/pandora_server.conf"
|
|
|
|
command="%%PREFIX%%/bin/${name}"
|
|
command_args="-D -P ${pidfile} %%ETCDIR%%/pandora_server.conf"
|
|
procname="%%PERL%%"
|
|
|
|
run_rc_command "$1"
|