From 18bb73c69539f5e03425005a02c2144242800664 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 7 Nov 2020 20:25:59 +0000 Subject: 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. --- gnu/services/guix.scm | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gnu/services') 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 @@ (define (guix-build-coordinator-agent-shepherd-services config) (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 @@ (define %user (getpw "guix-build-coordinator-agent")) ;; 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)))) -- cgit v1.2.3