summaryrefslogtreecommitdiff
path: root/games/wolfpack
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2007-12-11 21:40:40 +0000
committerJohan van Selst <johans@FreeBSD.org>2007-12-11 21:40:40 +0000
commit29bcfcae7a31eab0071ebf3f06b06f426120686d (patch)
tree0f90eda8da78488cc82862ad1d7a0b3e967f5d8d /games/wolfpack
parent- Update to version 0.4.3. (diff)
- Fix filenames in rc script
Reported by: Daniel O'Connor
Notes
Notes: svn path=/head/; revision=203051
Diffstat (limited to 'games/wolfpack')
-rw-r--r--games/wolfpack/files/wolfpack.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/wolfpack/files/wolfpack.in b/games/wolfpack/files/wolfpack.in
index 125341632cf0..43adb7fe4551 100644
--- a/games/wolfpack/files/wolfpack.in
+++ b/games/wolfpack/files/wolfpack.in
@@ -6,6 +6,9 @@
# 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%%
@@ -17,9 +20,8 @@ load_rc_config $name
: ${wolfpack_enable="NO"}
: ${wolfpack_user="wolfpack"}
-wolfdir="%%PREFIX%%/wolfpack"
-pidfile="$wolfdir/data/server.pid"
-command="$wolfdir/bin/emp_server"
+pidfile="%%PREFIX%%/var/wolfpack/server.pid"
+command="%%PREFIX%%/lib/wolfpack/emp_server"
run_rc_command "$1"