diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2021-12-12 15:15:03 +0100 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2021-12-12 15:15:03 +0100 |
commit | b53a8cf2283b2d6debb94cd399a72d25da0d7c82 (patch) | |
tree | e91b4b549150219b82e5a3995f0f3515154e2a7e /roles/install_wg_add/templates/wg_add.service.j2 | |
parent | e75acd9a72df39269496abb7207decfc210efaa6 (diff) |
merge fastd and uplink nodes
Diffstat (limited to 'roles/install_wg_add/templates/wg_add.service.j2')
-rw-r--r-- | roles/install_wg_add/templates/wg_add.service.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/install_wg_add/templates/wg_add.service.j2 b/roles/install_wg_add/templates/wg_add.service.j2 new file mode 100644 index 0000000..b348e98 --- /dev/null +++ b/roles/install_wg_add/templates/wg_add.service.j2 @@ -0,0 +1,10 @@ +[Unit] +Description=wg_add +After=network.target + +[Service] +ExecStart=/opt/wg_add/wg_add {{ ansible_default_ipv4.interface }} wg%i vx%i +Restart=always + +[Install] +WantedBy=multi-user.target |