summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/ircservices/files/ircservices.initd')
-rw-r--r--net-irc/ircservices/files/ircservices.initd30
1 files changed, 0 insertions, 30 deletions
diff --git a/net-irc/ircservices/files/ircservices.initd b/net-irc/ircservices/files/ircservices.initd
deleted file mode 100644
index c938eb0bde8a..000000000000
--- a/net-irc/ircservices/files/ircservices.initd
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-depend() {
- need net
- use ircd
- provide irc-services
-}
-
-start() {
- IRCSERVICES_RUNDIR="${IRCSERVICES_PIDFILE%/*}"
- if ! [ -d "${IRCSERVICES_RUNDIR}" ]; then
- ebegin "Creating ${IRCSERVICES_RUNDIR} for ${SVCNAME}"
- mkdir "${IRCSERVICES_RUNDIR}" && chown "${IRCSERVICES_USER}" "${IRCSERVICES_RUNDIR}"
- eend $?
- fi
-
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --user ircservices --exec /usr/bin/ircservices -- \
- -dir=/var/lib/ircservices \
- -log=/var/log/ircservices/ircservices.log
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --pidfile "${IRCSERVICES_PIDFILE}"
- eend $?
-}