summaryrefslogtreecommitdiff
path: root/roles/install_openvpn
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-24 10:25:05 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-24 10:25:05 +0100
commit62a74b1ed442dc8c8a1224aa8edceeb3ed9c1b84 (patch)
tree4e6e86e4e9b18c6201cb9b6e52fce4366ef74214 /roles/install_openvpn
parentb3b819ab7128c7d436bd1d2bafe8de3afb4f175c (diff)
install_openvpn: run up-script on restart
Diffstat (limited to 'roles/install_openvpn')
-rw-r--r--roles/install_openvpn/templates/mullvad.conf.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/install_openvpn/templates/mullvad.conf.j2 b/roles/install_openvpn/templates/mullvad.conf.j2
index 718ad4c..e3414da 100644
--- a/roles/install_openvpn/templates/mullvad.conf.j2
+++ b/roles/install_openvpn/templates/mullvad.conf.j2
@@ -56,4 +56,5 @@ tls-cipher TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SH
# Update routing information.
# Do not use standard configuration pushed via DHCP!
route-noexec
+up-restart
up /etc/openvpn/client/mullvad-up.sh