1 |
commit: 61f955aad03c22077d6e842bc3201365263c6bb4 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 3 00:43:35 2019 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 3 00:47:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f955aa |
7 |
|
8 |
net-nntp/nzbget: remove old init script |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
net-nntp/nzbget/files/nzbget.initd | 28 ---------------------------- |
14 |
1 file changed, 28 deletions(-) |
15 |
|
16 |
diff --git a/net-nntp/nzbget/files/nzbget.initd b/net-nntp/nzbget/files/nzbget.initd |
17 |
deleted file mode 100644 |
18 |
index 06f75596e43..00000000000 |
19 |
--- a/net-nntp/nzbget/files/nzbget.initd |
20 |
+++ /dev/null |
21 |
@@ -1,28 +0,0 @@ |
22 |
-#!/sbin/openrc-run |
23 |
-# Copyright 1999-2015 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-extra_started_commands="reload" |
27 |
- |
28 |
-start() { |
29 |
- ebegin "Starting ${RC_SVCNAME}" |
30 |
- checkpath -d -m 0755 -o "${NZBGET_USER}":"${NZBGET_GROUP}" /run/nzbget |
31 |
- start-stop-daemon --quiet --start --user "${NZBGET_USER}" \ |
32 |
- --group "${NZBGET_GROUP}" --exec /usr/bin/nzbget -- \ |
33 |
- --configfile "${NZBGET_CONFIGFILE}" --daemon \ |
34 |
- ${NZBGET_OPTS} |
35 |
- eend $? |
36 |
-} |
37 |
- |
38 |
-stop() { |
39 |
- ebegin "Stopping ${RC_SVCNAME}" |
40 |
- start-stop-daemon --stop --exec /usr/bin/nzbget -- \ |
41 |
- --configfile "${NZBGET_CONFIGFILE}" --daemon \ |
42 |
- ${NZBGET_OPTS} |
43 |
-} |
44 |
- |
45 |
-reload() { |
46 |
- ebegin "Reloading ${RC_SVCNAME}" |
47 |
- /usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --reload >/dev/null |
48 |
- eend $? |
49 |
-} |