guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: services: guix: Remove the Guix Build Coordinator agent pid file.


From: guix-commits
Subject: 02/03: services: guix: Remove the Guix Build Coordinator agent pid file.
Date: Sat, 7 Nov 2020 15:56:51 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 18bb73c69539f5e03425005a02c2144242800664
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sat Nov 7 20:25:59 2020 +0000

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

diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm
index 448f8c3..47a5e0a 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]