summaryrefslogtreecommitdiff
path: root/hostapd.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 15:33:44 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 15:33:44 +0000
commit39538a0580d436bdcb56f8f244791ef4e59d7f0a (patch)
tree897566e069285feaae6ee4cbb06ef41aa43de0c2 /hostapd.service
parent816028d8d25ab3c0e6c8b984406082cbfaf00d0c (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