1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/network/templates/hostapd/hostapd.service.j2

18 lines
430 B
Text
Raw Normal View History

2017-05-27 18:09:50 +00:00
[Unit]
Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
2019-08-08 18:04:48 +00:00
Wants=network-pre.target
2020-02-26 08:21:27 +00:00
After=network-pre.target
2020-04-22 00:21:12 +00:00
After=clone-wifi.service
Requires=clone-wifi.service
2017-05-27 18:09:50 +00:00
[Service]
Type=forking
2020-04-22 19:57:04 +00:00
#Restart=on-failure
#RestartSec=2
2017-05-27 18:09:50 +00:00
PIDFile=/run/hostapd.pid
ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid /etc/hostapd/hostapd.conf
2020-02-26 08:21:27 +00:00
ExecStartPost=-/sbin/ip link set ap0 up
2017-05-27 18:09:50 +00:00
[Install]
WantedBy=multi-user.target