From b53a8cf2283b2d6debb94cd399a72d25da0d7c82 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sun, 12 Dec 2021 15:15:03 +0100 Subject: merge fastd and uplink nodes --- roles/install_wg_add/templates/wg_add.service.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/install_wg_add/templates/wg_add.service.j2 (limited to 'roles/install_wg_add/templates') 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 -- cgit v1.2.3-54-g00ecf