#!/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 %%DATADIR%%/README # about configuring the server and creating a world first. # . %%RC_SUBR%% name=wolfpack rcvar=`set_rcvar` load_rc_config $name : ${wolfpack_enable="NO"} : ${wolfpack_user="wolfpack"} pidfile="%%PREFIX%%/var/wolfpack/server.pid" command="%%PREFIX%%/lib/wolfpack/emp_server" run_rc_command "$1"