Increase the termination timeout to 15s to let OpenVPN properly tear down
its connections, especially when weak links or complex down scripts are
involved.
Fixes FS#859.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from
28d3a1b54b6726a0a93477d75d09a25f74ee361f)
PKG_NAME:=openvpn
PKG_VERSION:=2.4.5
-PKG_RELEASE:=4.1
+PKG_RELEASE:=4.2
PKG_SOURCE_URL:=\
https://build.openvpn.net/downloads/releases/ \
--cd "$dir" \
--config "$conf"
procd_set_param file "$dir/$conf"
+ procd_set_param term_timeout 15
procd_set_param respawn
procd_append_param respawn 3600
procd_append_param respawn 5