1 |
commit: 4cbb4974d4a9d89c5d830d1eb4eaf8a8dbaec238 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 27 17:13:18 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 27 18:01:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cbb4974 |
7 |
|
8 |
net-proxy/cntlm: Enhance init.d (#524198 by Andrew Petelin) |
9 |
|
10 |
Package-Manager: Portage-2.3.38, Repoman-2.3.9 |
11 |
|
12 |
net-proxy/cntlm/files/cntlm.initd | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/net-proxy/cntlm/files/cntlm.initd b/net-proxy/cntlm/files/cntlm.initd |
16 |
index 106a4a163a6..f0044b0dcb1 100644 |
17 |
--- a/net-proxy/cntlm/files/cntlm.initd |
18 |
+++ b/net-proxy/cntlm/files/cntlm.initd |
19 |
@@ -1,5 +1,5 @@ |
20 |
#!/sbin/openrc-run |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
PIDFILE=${PIDFILE:-/var/run/cntlm.pid} |
26 |
@@ -16,6 +16,6 @@ start() { |
27 |
|
28 |
stop() { |
29 |
ebegin "Stopping cntlm" |
30 |
- start-stop-daemon --stop --pidfile ${PIDFILE} |
31 |
+ start-stop-daemon --stop --pidfile ${PIDFILE} -R SIGTERM/2/SIGKILL/2 |
32 |
eend $? |
33 |
} |