summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2019-03-03 01:43:35 +0100
committerLouis Sautier <sbraz@gentoo.org>2019-03-03 01:47:32 +0100
commit61f955aad03c22077d6e842bc3201365263c6bb4 (patch)
treebf043bc0e9b42d42acfd457137ec7940827f8f2a
parentnet-nntp/nzbget: remove unused patch (diff)
downloadgentoo-61f955aa.tar.gz
gentoo-61f955aa.tar.bz2
gentoo-61f955aa.zip
net-nntp/nzbget: remove old init script
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
-rw-r--r--net-nntp/nzbget/files/nzbget.initd28
1 files changed, 0 insertions, 28 deletions
diff --git a/net-nntp/nzbget/files/nzbget.initd b/net-nntp/nzbget/files/nzbget.initd
deleted file mode 100644
index 06f75596e438..000000000000
--- a/net-nntp/nzbget/files/nzbget.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-
-start() {
- ebegin "Starting ${RC_SVCNAME}"
- checkpath -d -m 0755 -o "${NZBGET_USER}":"${NZBGET_GROUP}" /run/nzbget
- start-stop-daemon --quiet --start --user "${NZBGET_USER}" \
- --group "${NZBGET_GROUP}" --exec /usr/bin/nzbget -- \
- --configfile "${NZBGET_CONFIGFILE}" --daemon \
- ${NZBGET_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${RC_SVCNAME}"
- start-stop-daemon --stop --exec /usr/bin/nzbget -- \
- --configfile "${NZBGET_CONFIGFILE}" --daemon \
- ${NZBGET_OPTS}
-}
-
-reload() {
- ebegin "Reloading ${RC_SVCNAME}"
- /usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --reload >/dev/null
- eend $?
-}