Author: blogic Date: 2015-01-08 21:26:41 +0100 (Thu, 08 Jan 2015) New Revision: 43886
Modified: trunk/package/network/services/openvpn/files/openvpn.init Log: openvpn: procd_set_param respawn Makes sure that the openvpn instance gets restarted in case of a crash. Intentional stops using /etc/init.d/openvpn stop will not result in respawning. Anything else will, e.g. killall openvpn. Signed-off-by: Lars Gierth <[email protected]> Modified: trunk/package/network/services/openvpn/files/openvpn.init =================================================================== --- trunk/package/network/services/openvpn/files/openvpn.init 2015-01-08 20:26:34 UTC (rev 43885) +++ trunk/package/network/services/openvpn/files/openvpn.init 2015-01-08 20:26:41 UTC (rev 43886) @@ -62,6 +62,7 @@ --cd "$dir" \ --config "$conf" procd_set_param file "$dir/$conf" + procd_set_param respawn procd_close_instance } _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
