summaryrefslogtreecommitdiff
path: root/hostapd.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 02:40:13 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 02:40:13 +0000
commitbc31e00f20be36875f0981c7d4b86c19ef54ad50 (patch)
tree897566e069285feaae6ee4cbb06ef41aa43de0c2 /hostapd.service
parent3b860db61e25c0fcc3b72d332798906bbb62e982 (diff)
automatic import of hostapdopeneuler24.03_LTS
Diffstat (limited to 'hostapd.service')
-rw-r--r--hostapd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/hostapd.service b/hostapd.service
new file mode 100644
index 0000000..d7c2ca0
--- /dev/null
+++ b/hostapd.service
@@ -0,0 +1,12 @@
+[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