Merge pull request #185301 from lovesegfault/geoclue-wifi-wait

This commit is contained in:
Bernardo Meurer 2022-08-09 23:15:22 -07:00 committed by GitHub
commit 4bd7ee8870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,6 +216,7 @@ in
# we can't be part of a system service, and the agent should
# be okay with the main service coming and going
wantedBy = [ "default.target" ];
after = lib.optionals cfg.enableWifi [ "network-online.target" ];
unitConfig.ConditionUser = "!@system";
serviceConfig = {
Type = "exec";