1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/irc/ircservices/files/ircservices.sh.in
Volker Stolz 79d7a95997 - version update to 5.0.51
- startup script with rc.subr
- new mirrors

PR:		ports/80402
Submitted by:	maintainer
2005-05-11 15:25:35 +00:00

25 lines
410 B
Bash

#!/bin/sh
#
# PROVIDE: ircservices
# REQUIRE: NETWORKING
# KEYWORD: FreeBSD
#
# Add the following line to /etc/rc.conf to enable ircservices:
#
# ircservices_enable="YES"
#
ircservices_enable="NO"
. %%RC_SUBR%%
name=ircservices
rcvar=`set_rcvar`
prefix=%%PREFIX%%
command="${prefix}/sbin/ircservices"
ircservices_pidfile="${prefix}/lib/services/ircservices.pid"
load_rc_config ${name}
run_rc_command "$1"