nixos: fix oci-containers Restart conflict for org-agenda-api
This commit is contained in:
@@ -151,7 +151,9 @@ in
|
|||||||
# Ensure container restarts on failure
|
# Ensure container restarts on failure
|
||||||
systemd.services.podman-org-agenda-api = {
|
systemd.services.podman-org-agenda-api = {
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "always";
|
# oci-containers also sets Restart; use mkForce to avoid an option merge
|
||||||
|
# conflict when both are present.
|
||||||
|
Restart = lib.mkForce "always";
|
||||||
RestartSec = "10s";
|
RestartSec = "10s";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user