Add missing "Wants" directive in systemd unit file
Per the systemd documentation (https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/#cutthecraphowdoimakesurethatmyservicestartsafterthenetworkisreallyonline), both Wants and After are required when using the network-online.target.
Originally reported on the Debian bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949323
Please merge this. I am seeing the following error on Debian 10 when I reboot.
[*] pcap_open_live() error: ens3: That device is not up
The result is that fwknop-server fails to start.
This pull request fixes the issue.
After further testing it looks like systemd-networkd-wait-online.service also needs to be enabled for this to work.
systemctl enable systemd-networkd-wait-online.service