diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-08-12 23:48:02 +0200 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-08-12 23:48:02 +0200 |
commit | 0f8af08cd75bf7cc369b7c4ba87a7d4311f16add (patch) | |
tree | 74b93a107f0dbe9d2b126558ac616029f17a3710 /roles/install_wireguard_backbone/files | |
parent | 5fed801449c8210324376d0e31663a8fbb84a0e4 (diff) |
fixed backbone routingnetsplit
Diffstat (limited to 'roles/install_wireguard_backbone/files')
-rw-r--r-- | roles/install_wireguard_backbone/files/wgbackbone@.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/install_wireguard_backbone/files/wgbackbone@.service b/roles/install_wireguard_backbone/files/wgbackbone@.service new file mode 100644 index 0000000..7dfc5bd --- /dev/null +++ b/roles/install_wireguard_backbone/files/wgbackbone@.service @@ -0,0 +1,18 @@ +[Unit] +Description=WireGuard Backbone for %I +After=network-online.target +Wants=network-online.target +Documentation=man:wg(8) +Documentation=https://www.wireguard.io/ +Documentation=https://www.wireguard.io/quickstart/ +Documentation=https://git.zx2c4.com/WireGuard/about/src/tools/wg-quick.8 +Documentation=https://git.zx2c4.com/WireGuard/about/src/tools/wg.8 + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/etc/wireguard/upbb%i.sh +ExecStop=/etc/wireguard/downbb%i.sh + +[Install] +WantedBy=multi-user.target |