mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update iiab-handle.j2
This commit is contained in:
parent
877f54d061
commit
82e26e6a4f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue