diff --git a/roles/openvpn/tasks/main.yml b/roles/openvpn/tasks/main.yml index 3aab23281..281d80aec 100644 --- a/roles/openvpn/tasks/main.yml +++ b/roles/openvpn/tasks/main.yml @@ -138,10 +138,12 @@ # 2018-09-02: OpenVPN had been starting tunnels by accident after reboot, # with new IIAB installs. Fix below (https://github.com/iiab/iiab/pull/1079) # changes most all instances below from PARENT service "openvpn@xscenet" to -# CHILD service "openpvn". See these 2 critical files to understand why: +# CHILD service "openpvn". See these critical files to understand why: # -# /etc/default/openvpn -# /etc/openvpn/xscenet.conf +# /etc/default/openvpn implies AUTOSTART="all" +# /etc/init.d/openvpn has AUTOSTART="all" +# /etc/openvpn/xscenet.conf our VPN connection +# /etc/network/if-up.d/openvpn appears to auto-start xscenet.conf - name: Enable & (Re)Start PARENT service openvpn, which (re)starts CHILD service openvpn@xscenet (& actual tunnel) systemd: