diff options
Diffstat (limited to 'irc/ptlink-ircd')
-rw-r--r-- | irc/ptlink-ircd/files/ptlink-ircd.sh.in | 8 |
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" |