fix hive-ci RestartSec eval conflict with lib.mkForce (#2535)

This commit is contained in:
damocles 2026-07-16 17:00:46 +02:00
commit 12d607fe5d

View file

@ -389,7 +389,10 @@ in
# no start-limit rate cap so it keeps retrying however long forge /
# the core token take to settle.
serviceConfig.Restart = lib.mkForce "on-failure";
serviceConfig.RestartSec = 15;
# `mkForce`: the upstream gitea-actions-runner module also sets
# RestartSec (2), so ours needs the higher priority or the two
# collide into an eval error — same as the sibling `Restart`.
serviceConfig.RestartSec = lib.mkForce 15;
startLimitIntervalSec = 0;
};
};