[Unit] Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator After=network.target [Service] Type=forking PIDFile=/run/hostapd.pid EnvironmentFile=/etc/sysconfig/hostapd ExecStart=/usr/sbin/hostapd /etc/hostapd/hostapd.conf -P /run/hostapd.pid -B $OTHER_ARGS [Install] WantedBy=multi-user.target