colony/git: Start Actions runner after Gitea
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:
1 parent
3bc6885a14
commit
9c61198937
1 file changed
+11
-6
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user