diff options
Diffstat (limited to 'roles/install_wg_prefix_provider/templates')
-rw-r--r-- | roles/install_wg_prefix_provider/templates/wg_prefix_provider.service.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/install_wg_prefix_provider/templates/wg_prefix_provider.service.j2 b/roles/install_wg_prefix_provider/templates/wg_prefix_provider.service.j2 new file mode 100644 index 0000000..485517a --- /dev/null +++ b/roles/install_wg_prefix_provider/templates/wg_prefix_provider.service.j2 @@ -0,0 +1,10 @@ +[Unit] +Description=wg_prefix_provider +After=network.target + +[Service] +ExecStart=/opt/wg_prefix_provider/wg_prefix_provider wgmyk 9999 {{ wireguard_vpn_client_range }} +Restart=always + +[Install] +WantedBy=multi-user.target |