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