summaryrefslogtreecommitdiff
path: root/community/hostapd/hostapd.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/hostapd/hostapd.service')
-rw-r--r--community/hostapd/hostapd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/hostapd/hostapd.service b/community/hostapd/hostapd.service
new file mode 100644
index 000000000..f278bf793
--- /dev/null
+++ b/community/hostapd/hostapd.service
@@ -0,0 +1,11 @@
+[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
+ExecStart=/usr/bin/hostapd /etc/hostapd/hostapd.conf -P /run/hostapd.pid -B
+
+[Install]
+WantedBy=multi-user.target