freebsd-ports/irc/ircservices/files/ircservices.in
Mathieu Arnold 30e25ad834 Update to 5.0.58
Update startup script
Should work on sparc64 now.

PR:		99483
Submitted by:	maintainer
2006-06-26 13:28:49 +00:00

22 lines
401 B
Bash

#!/bin/sh
# $FreeBSD$
#
# PROVIDE: ircservices
# REQUIRE: LOGIN
# KEYWORDS: nojail shutdown
. %%RC_SUBR%%
name=ircservices
rcvar=${name}_enable
command="%%PREFIX%%/sbin/${name}"
pidfile="%%PREFIX%%/lib/services/${name}.pid"
required_files="%%PREFIX%%/lib/services/ircservices.conf \
%%PREFIX%%/lib/services/modules.conf"
load_rc_config ${name}
: ${ircservices_enable="NO"}
run_rc_command "$1"