]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - hostapd/systemd/hostapd@.service
hostapd: Update to 1.0.
[people/pmueller/ipfire-3.x.git] / hostapd / systemd / hostapd@.service
index 748cb0ea51b06782bd91cefacad3db5273489c20..0fbfab50b1b18757464e8eb865788af1234e9e42 100644 (file)
@@ -1,17 +1,7 @@
-#  This file is part of systemd.
-#
-#  systemd is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-
 [Unit]
-Description=WLAN AP on %I
-BindTo=dev-%I.device
-After=dev-%I.device
+Description=hostap daemon on %I
 
 [Service]
-ExecStart=/usr/bin/hostapd -dd -P /run/network/hostapd/%I/pid /run/network/hostapd/%I/config
-#Restart=always
+ExecStart=/usr/sbin/hostapd -P /run/network/hostapd/%I/pid /run/network/hostapd/%I/config
 UtmpIdentifier=%I
 KillMode=process