colony/git: Start Actions runner after Gitea
Update docs / update (push) Successful in 1m29s
CI / Check, build and cache nixfiles (push) Successful in 1h25m52s

The runner exits when Gitea isn't serving yet, so an activation that
restarts both made it hit its start limit and failed the deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jackos1998andClaude Opus 5.5 committed 2026-11-24 16:04:08 +00:00
1 parent 3bc6885a14
commit 9c61198937
1 file changed
+11 -6
+11 -6
View File
@@ -68,12 +68,17 @@ in
systemd = {
services = {
gitea-runner-main.serviceConfig = {
# Needs to be able to read its secrets
CacheDirectory = "gitea-runner";
DynamicUser = mkForce false;
User = "gitea-runner";
Group = "gitea-runner";
gitea-runner-main = {
# The runner exits if Gitea isn't serving yet when it starts
after = [ "gitea.service" ];
serviceConfig = {
# Needs to be able to read its secrets
CacheDirectory = "gitea-runner";
DynamicUser = mkForce false;
User = "gitea-runner";
Group = "gitea-runner";
};
};
};
};