make led-fader: after networ-online.target

This commit is contained in:
makefu 2017-06-27 21:02:36 +02:00
parent b28b68250d
commit dca58fbc21
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -31,6 +31,7 @@ in {
}; };
# after = [ (lib.optional config.services.mosqitto.enable "mosquitto.service") ]; # after = [ (lib.optional config.services.mosqitto.enable "mosquitto.service") ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ];
serviceConfig = { serviceConfig = {
# User = "nobody"; # need a user with permissions to run nix-shell # User = "nobody"; # need a user with permissions to run nix-shell
ExecStart = "${pkg}/bin/ampel 4 ${pkg}/share/times.json"; ExecStart = "${pkg}/bin/ampel 4 ${pkg}/share/times.json";