These dependencies ensure that instances of this service are started
before wg-quick.target is considered started, allowing other services
to depend on wg-quick.target to mean "all wg-quick services are started"
Signed-off-by: Doug Freed <dwfreed@mtu.edu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
[Unit]
Description=WireGuard via wg-quick(8) for %I
+Before=wg-quick.target
After=network-online.target nss-lookup.target
Wants=network-online.target nss-lookup.target
PartOf=wg-quick.target
Environment=WG_ENDPOINT_RESOLUTION_RETRIES=infinity
[Install]
-WantedBy=multi-user.target
+WantedBy=multi-user.target wg-quick.target