summaryrefslogtreecommitdiff
path: root/hostapd.service
diff options
context:
space:
mode:
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