summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rw-r--r--debian/openvpn.init.d2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index ae87af7..06b2a6d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
diff --git a/debian/openvpn.init.d b/debian/openvpn.init.d
index 8507ace..ae88417 100644
--- a/debian/openvpn.init.d
+++ b/debian/openvpn.init.d
@@ -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