]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - hostapd/systemd/hostapd@.service
systemd: Fix conflict with nss-myhostname.
[people/ms/ipfire-3.x.git] / hostapd / systemd / hostapd@.service
1 [Unit]
2 Description=hostap daemon on %I
3
4 [Service]
5 ExecStartPre=/usr/lib/network/helpers/hostapd-config-helper create %I
6 ExecStart=/usr/sbin/hostapd -P /run/hostapd/%I.pid /run/network/ports/%I/hostapd.conf
7 ExecStopPost=/usr/lib/network/helpers/hostapd-config-helper remove %I
8 Restart=on-failure
9 UtmpIdentifier=%I
10 KillMode=process