diff options
author | Christopher Baines <mail@cbaines.net> | 2021-05-02 09:56:42 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-05-02 09:56:42 +0100 |
commit | c1131911a7ff28fde6a027f84c2760c8d5033409 (patch) | |
tree | 3a058abd9abb0056b1be2d3420a424e18d1e798e | |
parent | 1b792e8b5275dc010c53d91062082340431204f2 (diff) |
services: guix-build-coordinator: Fix queue builds state directory.
This service doesn't create a PID file, but it does write a file with the
processed commits in it, so create a directory to contain that.
* gnu/services/guix.scm (guix-build-coordinator-queue-builds-activation):
Ensure /var/cache/guix-build-coordinator-queue-builds exists.
-rw-r--r-- | gnu/services/guix.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index e44cf86aba..a5ed28647f 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -523,9 +523,9 @@ (mkdir-p "/var/log/guix-build-coordinator") - ;; Allow writing the PID file - (mkdir-p "/var/run/guix-build-coordinator-queue-builds") - (chown "/var/run/guix-build-coordinator-queue-builds" + ;; Allow writing the processed commits file + (mkdir-p "/var/cache/guix-build-coordinator-queue-builds") + (chown "/var/cache/guix-build-coordinator-queue-builds" (passwd:uid %user) (passwd:gid %user)))) |