Added cooldown to containers. Updated config. Disabled PCR-CHECK

This commit is contained in:
Raphaël Numbus
2026-01-25 10:17:44 +01:00
parent 8d2ba2b978
commit 9fbb926789
10 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ in
systemd.services.${container_name} = {
description = "Podman container : ${container_name}";
after = [ "network.target" ];
requires = [ "traefik.service" ];
requires = [ "traefik.service" "home-assistant.service" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.podman ];
@@ -67,7 +67,7 @@ in
# Pull the latest image before running
ExecStartPre = "${pkgs.podman-compose}/bin/podman-compose -f /etc/${compose_file} pull";
# Bring the service up
ExecStart = "${pkgs.podman-compose}/bin/podman-compose -f /etc/${compose_file} up --remove-orphans";
ExecStart = "sleep 60 && ${pkgs.podman-compose}/bin/podman-compose -f /etc/${compose_file} up --remove-orphans";
# Take it down gracefully
ExecStop = "${pkgs.podman-compose}/bin/podman-compose -f /etc/${compose_file} down";
Restart = "on-failure";