13 lines
325 B
SYSTEMD
13 lines
325 B
SYSTEMD
|
[Unit]
|
||
|
Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
PIDFile=/run/hostapd.pid
|
||
|
EnvironmentFile=/etc/sysconfig/hostapd
|
||
|
ExecStart=/usr/sbin/hostapd /etc/hostapd/hostapd.conf -P /run/hostapd.pid -B $OTHER_ARGS
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|