wpa_supplicant service: restart instead of stop & start

We now wait for dhcpcd to acquire a lease but dhcpcd is restarted on
system activation. As wpa_supplicant is stopped while dhcpcd is
restarting a significant delay is introduced on systems with wireless
network connections only. This changes the wpa_supplicant service to
also be restarted together with dhcpcd in case both services were
changed.
This commit is contained in:
Franz Pletz 2017-09-27 23:20:08 +02:00
parent 4a2442032e
commit 725dee203a
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ in {
wants = [ "network.target" ];
requires = lib.concatMap deviceUnit ifaces;
wantedBy = [ "multi-user.target" ];
stopIfChanged = false;
path = [ pkgs.wpa_supplicant ];