summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/inspircd/files/inspircd-2.0.21-init')
-rw-r--r--net-irc/inspircd/files/inspircd-2.0.21-init38
1 files changed, 0 insertions, 38 deletions
diff --git a/net-irc/inspircd/files/inspircd-2.0.21-init b/net-irc/inspircd/files/inspircd-2.0.21-init
deleted file mode 100644
index 6356965627d9..000000000000
--- a/net-irc/inspircd/files/inspircd-2.0.21-init
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_commands="rehash version"
-
-depend() {
- need net
- provide ircd
-}
-
-start() {
- ebegin "Starting InspIRCd"
- checkpath -d -m 0750 -o inspircd:inspircd /var/run/inspircd
- start-stop-daemon --start --quiet --user inspircd \
- --exec /usr/bin/inspircd -- \
- --config /etc/inspircd/inspircd.conf \
- --logfile /var/log/inspircd/ircd.log
- eend $?
-}
-
-stop() {
- ebegin "Stopping InspIRCd"
- start-stop-daemon --stop --quiet --exec /usr/bin/inspircd
- eend $?
-}
-
-rehash() {
- ebegin "Rehashing InspIRCd"
- /usr/lib/inspircd/inspircd rehash
- eend $?
-}
-
-version() {
- ebegin "Retrieve InspIRCd version"
- /usr/lib/inspircd/inspircd version
- eend $?
-}