aboutsummaryrefslogtreecommitdiff
path: root/irc/ptlink-ircd
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-18 15:05:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-18 15:05:18 +0000
commit9864a39f447fd506192c40d323d1c995a09f5d41 (patch)
tree4a0c7631576faf633c3ced89b49fef286626f5c9 /irc/ptlink-ircd
parent1d762a91a0e2bacc4d1d8965b9794ba59b28c06b (diff)
downloadports-9864a39f447fd506192c40d323d1c995a09f5d41.tar.gz
ports-9864a39f447fd506192c40d323d1c995a09f5d41.zip
Notes
Diffstat (limited to 'irc/ptlink-ircd')
-rw-r--r--irc/ptlink-ircd/files/ptlink-ircd.sh.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/irc/ptlink-ircd/files/ptlink-ircd.sh.in b/irc/ptlink-ircd/files/ptlink-ircd.sh.in
index 3d29474f4e23..559993d15ae7 100644
--- a/irc/ptlink-ircd/files/ptlink-ircd.sh.in
+++ b/irc/ptlink-ircd/files/ptlink-ircd.sh.in
@@ -9,17 +9,17 @@
# Add the following line(s) to /etc/rc.conf:
# ircd_enable (bool): Set to "NO" by default, set it to "YES" to enable ircd
-# ircd_user (str): Default to "%%USER%%"
+# ircd_user (str): Default to "ircd"
ircd_enable=${ircd_enable-"NO"}
ircd_user=${ircd_user-"ircd"}
-. /etc/rc.subr
+. %%RC_SUBR%%
name="ircd"
rcvar=`set_rcvar`
-pidfile="/usr/local/etc/ptlink-ircd/ircd.pid"
-command="/usr/local/bin/ircd"
+pidfile="%%PREFIX%%/etc/ptlink-ircd/ircd.pid"
+command="%%PREFIX%%/bin/ircd"
load_rc_config "$name"
run_rc_command "$1"