pkgsrc/chat/ircservices/files/ircservices.sh
adrianp f89da151de - Update irc-services from 5.0.16 to 5.0.40
Pkgsrc changes:
- Add a startup script
- Use SUBST_* framework (a lot)
- Install documentation and man pages
- Use CONF_FILES_* for installing config files

App changes:
- bugfixes
- documentation updates
- feature improvements
- See the Changes file for full details
2004-10-02 22:09:46 +00:00

22 lines
385 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: ircservices.sh,v 1.1 2004/10/02 22:09:46 adrianp Exp $
#
# PROVIDE: ircservices
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="ircservices"
rcvar=$name
command="@PREFIX@/sbin/ircservices"
required_files="@PREFIX@/lib/services/ircservices.conf"
command_args=""
load_rc_config $name
run_rc_command "$1"