mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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.
This commit is contained in:
parent
1b792e8b52
commit
c1131911a7
1 changed files with 3 additions and 3 deletions
|
@ -523,9 +523,9 @@ (define %user
|
|||
|
||||
(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))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue