I am trying to write a unit file for hostapd on Debian.
The hostapd daemon seems to need the interface for the associated Wifi interface to be up before it is run or else it SEGV's.
I've tried network-online.target, but still get the SEGV. I think this is because network-online.target only needs to see ANY interface up, and other interfaces comes up before the Wifi interface is ready enough for hostapd to work.
What is the best way to have a service wait for a specific interface to be up before starting?