1. [Unit]
  2. Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
  3. After=network.target
  4.  
  5. [Service]
  6. Type=forking
  7. PIDFile=/var/run/hostapd.pid
  8. ExecStart=/usr/bin/hostapd /etc/hostapd/hostapd.conf -P /var/run/hostapd.pid -B
  9.  
  10. [Install]
  11. WantedBy=multi-user.target