1 2 3 4 5 6 7 8 9 10 11 12
[Unit] After= After=vyos-router.service ConditionFileNotEmpty= ConditionFileNotEmpty=/run/hostapd/%i.conf [Service] WorkingDirectory=/run/hostapd EnvironmentFile= ExecStart= ExecStart=/usr/sbin/hostapd -B -P /run/hostapd/%i.pid /run/hostapd/%i.conf PIDFile=/run/hostapd/%i.pid