Merge pull request #233250 from SuperSandro2000/podman-timer-persist

This commit is contained in:
Sandro 2023-07-21 11:34:18 +02:00 committed by GitHub
commit 9f4a3203eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,6 +206,11 @@ in
systemd.user.sockets.podman.wantedBy = [ "sockets.target" ]; systemd.user.sockets.podman.wantedBy = [ "sockets.target" ];
systemd.timers.podman-prune.timerConfig = lib.mkIf cfg.autoPrune.enable {
Persistent = true;
RandomizedDelaySec = 1800;
};
systemd.tmpfiles.packages = [ systemd.tmpfiles.packages = [
# The /run/podman rule interferes with our podman group, so we remove # The /run/podman rule interferes with our podman group, so we remove
# it and let the systemd socket logic take care of it. # it and let the systemd socket logic take care of it.