diff options
Diffstat (limited to 'irc/ircd-ru/files/ircd.in')
-rw-r--r-- | irc/ircd-ru/files/ircd.in | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/irc/ircd-ru/files/ircd.in b/irc/ircd-ru/files/ircd.in deleted file mode 100644 index a95392b93c4e..000000000000 --- a/irc/ircd-ru/files/ircd.in +++ /dev/null @@ -1,30 +0,0 @@ -#! /bin/sh -# $FreeBSD$ -# -# PROVIDE: ircd -# REQUIRE: LOGIN syslogd -# KEYWORD: shutdown - -. /etc/rc.subr - -name="ircd" -rcvar=ircd_enable - -command="%%PREFIX%%/sbin/$name" -required_files="%%PREFIX%%/etc/ircd-ru/ircd.conf %%PREFIX%%/etc/ircd-ru/ircd.motd %%PREFIX%%/etc/ircd-ru/ircd.smotd" -piddir="/var/run/ircd-ru" -pidfile="$piddir/$name.pid" -start_precmd=${name}_precmd - -ircd_precmd () { - /usr/bin/install -d -o $ircd_user -g $ircd_group $piddir - eval `/usr/bin/limits -U $ircd_user -e` -} - -load_rc_config $name - -: ${ircd_enable="NO"} -: ${ircd_user="ircd"} -: ${ircd_group="ircd"} - -run_rc_command "$1" |