m 2 led-fader: wait for mosquitto if defined locally
This commit is contained in:
parent
ce43883b50
commit
01d31cb57d
@ -29,7 +29,8 @@ in {
|
|||||||
environment = {
|
environment = {
|
||||||
NIX_PATH = "/var/src";
|
NIX_PATH = "/var/src";
|
||||||
};
|
};
|
||||||
wantedBy = [ "multi-user.target" ];
|
after = [ (lib.optional config.services.mosqitto.enable "mosquitto.service") ];
|
||||||
|
wantedBy = [ "multi-user.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";
|
||||||
|
Loading…
Reference in New Issue
Block a user