me
/
guix
Archived
1
0
Fork 0

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
Christopher Baines 2020-11-07 20:25:59 +00:00
parent b6ece1c206
commit 18bb73c695
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 0 additions and 7 deletions

View File

@ -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))))