services: guix: Remove the Guix Build Coordinator agent pid file.
As it doesn't use one. * gnu/services/guix.scm (guix-build-coordinator-agent-shepherd-services): Remove #:pid-file. (guix-build-coordinator-agent-activation): Don't create the /var/run directory.master
parent
b6ece1c206
commit
18bb73c695
|
@ -360,7 +360,6 @@
|
|||
(string-append "--system=" system))
|
||||
(or systems '())))
|
||||
#:user #$user
|
||||
#:pid-file "/var/run/guix-build-coordinator-agent/pid"
|
||||
#:environment-variables
|
||||
`(,(string-append
|
||||
"GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale")
|
||||
|
@ -381,12 +380,6 @@
|
|||
;; Create a cache directory for storing narinfo files if downloaded
|
||||
(mkdir-p "/var/cache/guix-build-coordinator-agent")
|
||||
(chown "/var/cache/guix-build-coordinator-agent"
|
||||
(passwd:uid %user)
|
||||
(passwd:gid %user))
|
||||
|
||||
;; Allow writing the PID file
|
||||
(mkdir-p "/var/run/guix-build-coordinator-agent")
|
||||
(chown "/var/run/guix-build-coordinator-agent"
|
||||
(passwd:uid %user)
|
||||
(passwd:gid %user))))
|
||||
|
||||
|
|
Reference in New Issue