From 15570d8ca35382e133398246f327eeea95d15eab Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 3 Sep 2018 21:28:25 -0400 Subject: [PATCH] Update main.yml --- roles/openvpn/tasks/main.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/roles/openvpn/tasks/main.yml b/roles/openvpn/tasks/main.yml index 2f7061cfd..870cea9b9 100644 --- a/roles/openvpn/tasks/main.yml +++ b/roles/openvpn/tasks/main.yml @@ -140,10 +140,12 @@ # changes most all instances below from CHILD service "openvpn@xscenet" to # PARENT service "openpvn". See these critical files to understand why: # -# /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 +# /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 +# /lib/systemd/systemd-sysv-install sets /etc/rc*.d/S|K01openvpn +# e.g. when "systemctl enable openvpn" - name: Enable & (Re)Start PARENT service openvpn, which (re)starts CHILD service openvpn@xscenet (& actual tunnel) systemd: