Fix #799592, #796914

parent 12e09aa5
......@@ -4,6 +4,9 @@ openvpn (2.3.10-1) unstable; urgency=medium
Drop password_prompt_in_systemd.patch. Applied upstream.
* Unify pidfile path on systemd and sysV. (Closes: #811010)
Thanks Guillem Jover for noticing.
* Increase start-stop-daemon timeout on stop to let openvpn
tear down the connection properly in some cases.
(Closes: #799592, #796914)
-- Alberto Gonzalez Iniesta <agi@inittab.org> Wed, 20 Jan 2016 12:01:36 +0100
......
......@@ -96,7 +96,7 @@ start_vpn () {
}
stop_vpn () {
start-stop-daemon --stop --quiet --oknodo \
--pidfile $PIDFILE --exec $DAEMON --retry 5
--pidfile $PIDFILE --exec $DAEMON --retry 10
if [ "$?" -eq 0 ]; then
rm -f $PIDFILE
[ "$OMIT_SENDSIGS" -ne 1 ] || rm -f /run/sendsigs.omit.d/openvpn.$NAME.pid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment