#!/bin/sh # PROVIDE: wolfpack # # Add the following line to /etc/rc.conf.local or /etc/rc.conf # to enable the wolfpack game server: # wolfpack_enable="YES" # # Please read the documentation in /usr/local/share/wolfpack/README # about configuring the server and creating a world first. # . /etc/rc.subr name=wolfpack rcvar=`set_rcvar` load_rc_config $name : ${wolfpack_enable="NO"} : ${wolfpack_user="wolfpack"} pidfile="/usr/local/var/wolfpack/server.pid" command="/usr/local/lib/wolfpack/emp_server" run_rc_command "$1"