systemd: add wg-quick.target
Add file wg-quick.target, which allows starting and stopping all wg-quick@.service instances at once. Signed-off-by: Martin Hauke <mardnh@gmx.de> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
891fb523a2
commit
238ca40591
2 changed files with 3 additions and 0 deletions
2
src/systemd/wg-quick.target
Normal file
2
src/systemd/wg-quick.target
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Unit]
|
||||||
|
Description=WireGuard Tunnels via wg-quick(8)
|
|
@ -2,6 +2,7 @@
|
||||||
Description=WireGuard via wg-quick(8) for %I
|
Description=WireGuard via wg-quick(8) for %I
|
||||||
After=network-online.target nss-lookup.target
|
After=network-online.target nss-lookup.target
|
||||||
Wants=network-online.target nss-lookup.target
|
Wants=network-online.target nss-lookup.target
|
||||||
|
PartOf=wg-quick.target
|
||||||
Documentation=man:wg-quick(8)
|
Documentation=man:wg-quick(8)
|
||||||
Documentation=man:wg(8)
|
Documentation=man:wg(8)
|
||||||
Documentation=https://www.wireguard.com/
|
Documentation=https://www.wireguard.com/
|
||||||
|
|
Loading…
Reference in a new issue