summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service')
-rw-r--r--recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service b/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service
new file mode 100644
index 0000000..9f576ef
--- /dev/null
+++ b/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
+Requires=enable-wifi.service
+
+[Service]
+Type=forking
+PIDFile=/run/hostapd.pid
+ExecStart=@SBINDIR@/hostapd @SYSCONFDIR@/hostapd-tdx-demo-img.conf -P /run/hostapd.pid -B
+
+
+[Install]
+WantedBy=multi-user.target