I have applied this configuration
systemd.services.load-balancer = {
wantedBy = ["multi-user.target"];
requires = ["public-network.service"
"zfs-import_${dataset}.service"];
after = ["public-network.service"
"zfs-import_${dataset}.service"];
enable = true;
serviceConfig = {
ExecStart = "${pkgs.podman}/bin/podman compose up";
WorkingDirectory = "/etc/srv/load-balancer";
Type = "simple";
};
};
but there is no file /etc/systemd/system/load-balancer.service
, even though other configurations from that same file were applied…what am I doing wrong? It looks the same as another service I have configured.