summaryrefslogtreecommitdiff
path: root/roles/install_wg_add_vpn/templates
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2022-01-22 19:59:11 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2022-01-22 19:59:11 +0100
commitfb0dbf28a0e7979050858256d2040d734b282afe (patch)
tree153ac6d83de80fd39a6724e72a3beb6a56992300 /roles/install_wg_add_vpn/templates
parentb53a8cf2283b2d6debb94cd399a72d25da0d7c82 (diff)
new net with nat64
Diffstat (limited to 'roles/install_wg_add_vpn/templates')
-rw-r--r--roles/install_wg_add_vpn/templates/wg_add_vpn.service.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/install_wg_add_vpn/templates/wg_add_vpn.service.j2 b/roles/install_wg_add_vpn/templates/wg_add_vpn.service.j2
new file mode 100644
index 0000000..da1470d
--- /dev/null
+++ b/roles/install_wg_add_vpn/templates/wg_add_vpn.service.j2
@@ -0,0 +1,10 @@
+[Unit]
+Description=wg_add
+After=network.target
+
+[Service]
+ExecStart=/opt/wg_add_vpn/wg_add {{ ansible_default_ipv4.interface }} wgmyk
+Restart=always
+
+[Install]
+WantedBy=multi-user.target