mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update iiab-remote-on.j2
This commit is contained in:
parent
3b2c16d6bf
commit
849be849d0
1 changed files with 10 additions and 0 deletions
|
@ -3,6 +3,16 @@
|
||||||
# /usr/bin/iiab-remote-on should turn on multiple remote support services like
|
# /usr/bin/iiab-remote-on should turn on multiple remote support services like
|
||||||
# OpenVPN and others, for remote support, so they work even after reboot.
|
# OpenVPN and others, for remote support, so they work even after reboot.
|
||||||
|
|
||||||
|
echo -e 'WARNING: To enable OpenVPN long-term, it'"'"'s recommended you:\n'
|
||||||
|
|
||||||
|
echo -e '1) Set these variables in /etc/local/local_vars.yml'
|
||||||
|
echo -e ' openvpn_install: True'
|
||||||
|
echo -e ' openvpn_enabled: True\n'
|
||||||
|
|
||||||
|
echo -e '2) Run:'
|
||||||
|
echo -e ' cd /opt/iiab/iiab'
|
||||||
|
echo -e ' sudo ./runrole openvpn\n'
|
||||||
|
|
||||||
# Do nothing if OpenVPN not installed
|
# Do nothing if OpenVPN not installed
|
||||||
which openvpn
|
which openvpn
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue