pkgsrc/comms/op_panel/files/op_panel.sh
2009-01-05 07:47:41 +00:00

20 lines
376 B
Bash

#!@RCD_SCRIPTS_SHELL@
# PROVIDE:
# REQUIRE: LOGIN
# KEYWORD:
$_rc_subr_loaded . /etc/rc.subr
name="op_panel"
rcvar=$name
command="@PREFIX@/libexec/op_server.pl"
command_interpreter="@PERL5@"
pidfile="/var/run/$name.pid"
required_files="@PKG_SYSCONFDIR@/op_server.cfg"
extra_commands="reload"
command_args="-d -c @PKG_SYSCONFDIR@"
load_rc_config $name
run_rc_command "$1"