freebsd-ports/games/wolfpack/files/wolfpack.in
Johan van Selst c6e8abf4ed - Update to 4.2.21 (should work on ia64)
- Remove obsoleted pidfile patch
- Update rc.d script style
- Assume maintainership
2006-09-28 14:00:35 +00:00

24 lines
379 B
Bash

#!/bin/sh
#
# Add the following line to /etc/rc.conf to enable wolfpack:
#
# wolfpack_enable="YES"
#
. %%RC_SUBR%%
name=wolfpack
rcvar=`set_rcvar`
wolfdir="%%PREFIX%%/wolfpack"
command="$wolfdir/bin/emp_server"
pidfile="$wolfdir/data/server.pid"
wolfpack_enable=${wolfpack_enable:-"NO"}
wolfpack_user=${wolfpack_user:-"wolfpack"}
load_rc_config $name
run_rc_command "$1"