1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/games/wolfpack/files/wolfpack.in
Johan van Selst 60391c31af - Update to 4.3.8
- Rewrite install procedure and remove obsolete patchfiles
  No longer use PREFIX/wolfpack but install in PREFIX/{lib,share,etc}/wolfpack
2007-03-29 18:56:23 +00:00

26 lines
409 B
Bash

#!/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"
#
. %%RC_SUBR%%
name=wolfpack
rcvar=`set_rcvar`
load_rc_config $name
: ${wolfpack_enable="NO"}
: ${wolfpack_user="wolfpack"}
wolfdir="%%PREFIX%%/wolfpack"
pidfile="$wolfdir/data/server.pid"
command="$wolfdir/bin/emp_server"
run_rc_command "$1"