aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2007-12-12 05:40:40 +0800
committerjohans <johans@FreeBSD.org>2007-12-12 05:40:40 +0800
commit8e439dadf431ac86a4c07fa82bcadf417e2b7d4f (patch)
tree4ff65de0281bb6a2faace1fe709a43b5bbb5aa93 /games
parent4f754ed0987bd83d672df7f83d1f1fe46afec695 (diff)
downloadfreebsd-ports-gnome-8e439dadf431ac86a4c07fa82bcadf417e2b7d4f.tar.gz
freebsd-ports-gnome-8e439dadf431ac86a4c07fa82bcadf417e2b7d4f.tar.zst
freebsd-ports-gnome-8e439dadf431ac86a4c07fa82bcadf417e2b7d4f.zip
- Fix filenames in rc script
Reported by: Daniel O'Connor
Diffstat (limited to 'games')
-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"