From 82e26e6a4f14849a1a5b9e6582ca707864fb2b1d Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 5 Sep 2018 11:34:31 -0400 Subject: [PATCH] Update iiab-handle.j2 --- roles/openvpn/templates/iiab-handle.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/openvpn/templates/iiab-handle.j2 b/roles/openvpn/templates/iiab-handle.j2 index f9d8edcac..7eb842b45 100755 --- a/roles/openvpn/templates/iiab-handle.j2 +++ b/roles/openvpn/templates/iiab-handle.j2 @@ -1,5 +1,5 @@ #!/bin/bash -# Interactive script (over)writes /etc/iiab/openvpn_handle file, identifying client to server +# DEPRECATED interactive script (over)writes /etc/iiab/openvpn_handle file, identifying client to server echo -e '\nCORRECT METHOD: CHANGE VARIABLE openvpn_handle IN /etc/iiab/local_vars.yml' echo -e 'THEN RUN "cd /opt/iiab/iiab" THEN "./runrole openvpn"\n' @@ -16,3 +16,5 @@ else echo $ans > /etc/iiab/openvpn_handle fi {{ systemctl_program }} restart openvpn@xscenet +# This would also work: (but would bounce all VPN connections, if others exist, causing unnec disruption if so) +#{{ systemctl_program }} restart openvpn