actions-runner: fix cache dir for DynamicUser
Move cache directory under the managed state directory since the service runs with DynamicUser and cannot create /var/cache paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
runner.capacity = 2;
|
runner.capacity = 2;
|
||||||
cache = {
|
cache = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
dir = "/var/cache/forgejo-runner";
|
dir = "/var/lib/gitea-runner/actions1/cache";
|
||||||
};
|
};
|
||||||
container.privileged = false;
|
container.privileged = false;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user