#!/bin/sh

# PROVIDE:
# REQUIRE: LOGIN
# KEYWORD:

$_rc_subr_loaded . /etc/rc.subr

name="op_panel"
rcvar=$name
command="/usr/pkg/libexec/op_server.pl"
command_interpreter="/usr/pkg/bin/perl"
pidfile="/var/run/$name.pid"
required_files="/usr/pkg/etc/op_panel/op_server.cfg"
extra_commands="reload"

command_args="-d -c /usr/pkg/etc/op_panel"

load_rc_config $name
run_rc_command "$1"
