diff --git a/modules/pihole-container.factory.nix b/modules/pihole-container.factory.nix index 275fb75..e6fefe1 100644 --- a/modules/pihole-container.factory.nix +++ b/modules/pihole-container.factory.nix @@ -343,6 +343,7 @@ in rec { ExecStop = '' ${pkgs.podman}/bin/podman stop ${cfg.hostConfig.containerName} ''; + RestartSec = "5s"; #TODO check that user can control podman & has subuidmap/subgidmap set User = "${cfg.hostConfig.user}"; };