mirror of https://github.com/hak5/openwrt-owl.git
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 <larsg@systemli.org> SVN-Revision: 43886owl
parent
5789169b1d
commit
52c949e448
|
@ -62,6 +62,7 @@ openvpn_add_instance() {
|
|||
--cd "$dir" \
|
||||
--config "$conf"
|
||||
procd_set_param file "$dir/$conf"
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue