diff options
author | Christopher Baines <mail@cbaines.net> | 2020-11-07 20:25:59 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-11-07 20:50:22 +0000 |
commit | 18bb73c69539f5e03425005a02c2144242800664 (patch) | |
tree | f59286b802e87b930d1ac6322e160f0523ac1d87 | |
parent | b6ece1c2069ee70c786e4163689cf17b7a0c7278 (diff) | |
download | guix-18bb73c69539f5e03425005a02c2144242800664.tar.gz |
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.
-rw-r--r-- | gnu/services/guix.scm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index 448f8c350d..47a5e0a256 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -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") @@ -382,12 +381,6 @@ (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)))) (define (guix-build-coordinator-agent-account config) |