File: hostapd%40.service

package info (click to toggle)
wpa 2%3A2.7%2Bgit20190128%2B0c1e29f-6%2Bdeb10u3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 20,332 kB
  • sloc: ansic: 352,944; cpp: 5,196; makefile: 3,662; python: 3,142; sh: 1,532; php: 957; xml: 54; perl: 48
file content (15 lines) | stat: -rw-r--r-- 440 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator (%I)
After=network.target
BindsTo=sys-subsystem-net-devices-%i.device

[Service]
Type=forking
PIDFile=/run/hostapd.%i.pid
Restart=on-failure
RestartSec=2
EnvironmentFile=-/etc/default/hostapd
ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.%i.pid $DAEMON_OPTS /etc/hostapd/%i.conf

[Install]
WantedBy=multi-user.target sys-subsystem-net-devices-%i.device