mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-proxy/cntlm: Enhance init.d (#524198 by Andrew Petelin)
Package-Manager: Portage-2.3.38, Repoman-2.3.9
This commit is contained in:
@@ -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 $?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user