[Unit] Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator Before=network.target Wants=network-pre.target [Service] Type=idle PIDFile=/run/hostapd.pid ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid /etc/hostapd/hostapd.conf [Install] WantedBy=multi-user.target