]> git.ipfire.org Git - ipfire-3.x.git/blame - hostapd/systemd/hostapd@.service
hostapd: Make new-style systemd unit file.
[ipfire-3.x.git] / hostapd / systemd / hostapd@.service
CommitLineData
b5fa6389 1[Unit]
c16b465b 2Description=hostap daemon on %I
b5fa6389
SS
3
4[Service]
44ee7247
MT
5ExecStartPre=/usr/lib/network/helpers/hostapd-config-helper create %I
6ExecStart=/usr/sbin/hostapd -P /run/hostapd/%I.pid /run/network/ports/%I/hostapd.conf
7ExecStopPost=/usr/lib/network/helpers/hostapd-config-helper remove %I
8Restart=on-failure
b5fa6389
SS
9UtmpIdentifier=%I
10KillMode=process