diff options
author | Pacho Ramos <pacho@gentoo.org> | 2017-07-14 13:11:14 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2017-07-14 13:11:14 +0200 |
commit | 18dc6a2a1f1bef9bd29500c5ac672cc34c464dc5 (patch) | |
tree | 8e471f785bcc3b4f8397761c5d0fe49f25a6e719 /net-irc/atheme-services/files/atheme-services.initd | |
parent | Remove hardmasked packages (diff) | |
download | gentoo-18dc6a2a1f1bef9bd29500c5ac672cc34c464dc5.tar.gz gentoo-18dc6a2a1f1bef9bd29500c5ac672cc34c464dc5.tar.bz2 gentoo-18dc6a2a1f1bef9bd29500c5ac672cc34c464dc5.zip |
Remove hardmasked packages
Diffstat (limited to 'net-irc/atheme-services/files/atheme-services.initd')
-rw-r--r-- | net-irc/atheme-services/files/atheme-services.initd | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net-irc/atheme-services/files/atheme-services.initd b/net-irc/atheme-services/files/atheme-services.initd deleted file mode 100644 index 6bf9cb4f56a6..000000000000 --- a/net-irc/atheme-services/files/atheme-services.initd +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands="reload" - -depend() { - need net - use ircd - provide irc-services -} - -start() { - ATHEME_SERVICES_RUNDIR=/var/run/atheme - if ! [ -d "${ATHEME_SERVICES_RUNDIR}" ]; then - ebegin "Creating \`${ATHEME_SERVICES_RUNDIR}'" - install -o atheme-services -d "${ATHEME_SERVICES_RUNDIR}" - eend $? - fi - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --pidfile=/var/run/atheme/atheme.pid --user atheme-services --exec /usr/bin/atheme-services - eend $? -} - -reload() { - ebegin "Reloading ${SVCNAME}" - start-stop-daemon --signal HUP --pidfile /var/run/atheme/atheme.pid - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --quiet --pidfile /var/run/atheme/atheme.pid - eend $? -} |