11
salt/states/hostapd/files/hostapd.service.jinja
Normal file
11
salt/states/hostapd/files/hostapd.service.jinja
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
||||
BindsTo=sys-subsystem-net-devices-{{ pillar['network']['wireless'] }}.device
|
||||
After=sys-subsystem-net-devices-{{ pillar['network']['wireless'] }}.device
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/hostapd /etc/hostapd.conf
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user