summaryrefslogtreecommitdiffstats
path: root/builder/wlan-boot/services/wpa_supplicant.service
blob: 350e19dec46784def78ca2a2db920b0a19dd7e12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=WPA supplicant
Before=dhcp.service
#Wants=dhcp.service
ConditionFileIsExecutable=/usr/sbin/wpa_supplicant
ConditionFileIsExecutable=/usr/bin/systemd-preserve-process-marker 
ConditionPathExists=/etc/wpa_supplicant.conf
IgnoreOnIsolate=true
DefaultDependencies=no

[Service]
Type=simple
ExecStart=/usr/bin/systemd-preserve-process-marker /usr/sbin/wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
RemainAfterExit=yes
KillMode=process
#KillSignal=SIGTERM