aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ptlink-ircd
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-09-18 23:05:18 +0800
committerpav <pav@FreeBSD.org>2005-09-18 23:05:18 +0800
commit67b9ea4e3a976524298b419abca3e3bea15c6235 (patch)
treebae4921a3ac0f231ccf29955213af5f101c95abb /irc/ptlink-ircd
parent93a703f7d7f7df541dcecb9c59d7c21a99545784 (diff)
downloadfreebsd-ports-gnome-67b9ea4e3a976524298b419abca3e3bea15c6235.tar.gz
freebsd-ports-gnome-67b9ea4e3a976524298b419abca3e3bea15c6235.tar.zst
freebsd-ports-gnome-67b9ea4e3a976524298b419abca3e3bea15c6235.zip
- Fix rc script
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"