]> git.ipfire.org Git - ipfire-3.x.git/blame - hostapd/systemd/hostapd@.service
hostapd: Make systemd unit file independent from network.service.
[ipfire-3.x.git] / hostapd / systemd / hostapd@.service
CommitLineData
b5fa6389
SS
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7
8[Unit]
9Description=WLAN AP on %I
10BindTo=dev-%I.device
ccdd7d5a 11After=dev-%I.device
b5fa6389
SS
12
13[Service]
14ExecStart=/usr/bin/hostapd -dd -P /run/network/hostapd/%I/pid /run/network/hostapd/%I/config
15#Restart=always
16UtmpIdentifier=%I
17KillMode=process