1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/network/templates/hostapd/hostapd.service.j2

15 lines
432 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
2018-09-08 23:40:02 +00:00
After=network-pre.target
Before=network.target dhcpcd.service
2017-05-27 18:09:50 +00:00
[Service]
Type=idle
PIDFile=/run/hostapd.pid
2018-12-31 06:51:29 +00:00
ExecStartPre=-/sbin/iw phy phy0 interface add ap0 type __ap
ExecStartPre=-/sbin/ip link set ap0 address {{ ap0_mac_addr }}
2018-08-21 16:17:30 +00:00
ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid /etc/hostapd/hostapd.conf
2017-05-27 18:09:50 +00:00
[Install]
WantedBy=multi-user.target