systemd_hostapd.service 521 B

123456789101112131415161718192021
  1. [Unit]
  2. Documentation=man:systemd-sysv-generator(8)
  3. SourcePath=/etc/init.d/hostapd
  4. Description=LSB: Advanced IEEE 802.11 management daemon
  5. After=remote-fs.target
  6. After=network-online.target
  7. Wants=network-online.target
  8. [Service]
  9. Type=forking
  10. Restart=no
  11. TimeoutSec=5min
  12. IgnoreSIGPIPE=no
  13. KillMode=process
  14. GuessMainPID=no
  15. RemainAfterExit=yes
  16. SuccessExitStatus=5 6
  17. Environment=DAEMON_CONF=/etc/hostapd/hostapd-%i.conf
  18. ExecStart=/etc/init.d/hostapd start
  19. ExecStop=/etc/init.d/hostapd stop
  20. ExecReload=/etc/init.d/hostapd reload