]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - hostapd/systemd/hostapd@.service
openvswitch: Add service file for systemd.
[people/amarx/ipfire-3.x.git] / hostapd / systemd / hostapd@.service
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]
9 Description=WLAN AP on %I
10 BindTo=dev-%I.device
11 After=dev-%I.device network.service
12 Requires=network.service
13
14 [Service]
15 ExecStart=/usr/bin/hostapd -dd -P /run/network/hostapd/%I/pid /run/network/hostapd/%I/config
16 #Restart=always
17 UtmpIdentifier=%I
18 KillMode=process