mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-01 11:51:16 +02:00
Scalable IRC daemon with many useful features http://www.github.com/shadowircd/shadowircd
23 lines
579 B
Plaintext
23 lines
579 B
Plaintext
#!/sbin/runscript
|
|
# Copyright 1999-2005 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-irc/charybdis/files/charybdis-ircd.initd,v 1.2 2008/01/08 21:17:02 jokey Exp $
|
|
|
|
depend() {
|
|
use net
|
|
provide ircd
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting shadowircd"
|
|
start-stop-daemon --start --quiet -u ${SHADOWIRCD_USER} --exec /usr/bin/ircd -- -configfile ${SHADOWIRCD_CONF}>/dev/null
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping shadowircd"
|
|
start-stop-daemon --stop --quiet --pidfile ${SHADOWIRCD_PID}
|
|
eend $?
|
|
}
|
|
|