mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
79d7a95997
- startup script with rc.subr - new mirrors PR: ports/80402 Submitted by: maintainer
25 lines
410 B
Bash
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"
|