net-proxy/cntlm: Enhance init.d (#524198 by Andrew Petelin)
authorPacho Ramos <pacho@gentoo.org>
Sun, 27 May 2018 17:13:18 +0000 (19:13 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 27 May 2018 18:01:58 +0000 (20:01 +0200)
Package-Manager: Portage-2.3.38, Repoman-2.3.9

net-proxy/cntlm/files/cntlm.initd

index 106a4a163a6f8f9e0fe663b85e4fdaba1fb13306..f0044b0dcb1805cc5bc1739c063489533e2f2675 100644 (file)
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 PIDFILE=${PIDFILE:-/var/run/cntlm.pid}
@@ -16,6 +16,6 @@ start() {
 
 stop() {
        ebegin "Stopping cntlm"
-       start-stop-daemon --stop --pidfile ${PIDFILE}
+       start-stop-daemon --stop --pidfile ${PIDFILE} -R SIGTERM/2/SIGKILL/2
        eend $?
 }