summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-07-05 12:32:14 +0200
committerMichał Górny <mgorny@gentoo.org>2017-07-05 12:35:23 +0200
commitb6e6234008767ec82ed0fb1642b3f933d94e5f8f (patch)
tree508aec6ce78942336a401e28854ce0110a7af748 /net-irc/charybdis/files/charybdis.initd
parentdev-db/ctdb: Remove last-rited pkg, #512292 (diff)
downloadgentoo-b6e6234008767ec82ed0fb1642b3f933d94e5f8f.tar.gz
gentoo-b6e6234008767ec82ed0fb1642b3f933d94e5f8f.tar.bz2
gentoo-b6e6234008767ec82ed0fb1642b3f933d94e5f8f.zip
net-irc/charybdis: Remove last-rited pkg, #562896
Diffstat (limited to 'net-irc/charybdis/files/charybdis.initd')
-rw-r--r--net-irc/charybdis/files/charybdis.initd38
1 files changed, 0 insertions, 38 deletions
diff --git a/net-irc/charybdis/files/charybdis.initd b/net-irc/charybdis/files/charybdis.initd
deleted file mode 100644
index 44a1a00a47b9..000000000000
--- a/net-irc/charybdis/files/charybdis.initd
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-
-depend() {
- use dns net
- provide ircd
-}
-
-start() {
- if ! [ -d /var/run/charybdis ]; then
- ebegin "Creating /var/run/charybdis for ${SVCNAME}"
- mkdir /var/run/charybdis \
- && chown :charybdis /var/run/charybdis \
- && chmod 770 /var/run/charybdis
- eend $?
- fi
-
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --exec /usr/bin/charybdis-ircd \
- --user charybdis --pidfile /var/run/charybdis/ircd.pid \
- ${CHARYBDIS_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --pidfile /var/run/charybdis/ircd.pid
- eend $?
-}
-
-reload() {
- ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --signal HUP --pidfile /var/run/charybdis/ircd.pid
- eend $?
-}