blob: 7dfc5bdb79bf7ad2c09529f612e69e34ca7ab29a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|