[PATCH] tools: add wireguard at .service
joerg at higgsboson.tk
Fri May 26 23:09:10 CEST 2017
On 2017-05-26 16:30, Daniel Kahn Gillmor wrote:
>> diff --git a/src/tools/wireguard at .service b/src/tools/wireguard at .service
>> new file mode 100644
>> index 0000000..b6d53bf
>> --- /dev/null
>> +++ b/src/tools/wireguard at .service
>> @@ -0,0 +1,19 @@
>> +Description=WireGuard via wg(8) for %I
My guess is that network-online.target was chosen for wg-quick because DNS resolving of endpoints might be required.
For this target to become effective this requires either systemd-networkd or a recent version NetworkManager to be running
(or any other service, which makes its connection state a dependency of |network-online.target|).
Once wireguard becomes integrated into systemd-networkd, networkd will just retry forever to resolve endpoints with exponential back-off.
More information about the WireGuard