guix-commits
[Top][All Lists]
Advanced

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

branch master updated: services: pcscd-shepherd-service: Fix PID file lo


From: guix-commits
Subject: branch master updated: services: pcscd-shepherd-service: Fix PID file location.
Date: Sat, 12 Dec 2020 17:10:18 -0500

This is an automated email from the git hooks/post-receive script.

nckx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 8f2656f  services: pcscd-shepherd-service: Fix PID file location.
8f2656f is described below

commit 8f2656f1debffe92ea088f4c88cfe8ec560b2ba3
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Dec 12 22:57:16 2020 +0100

    services: pcscd-shepherd-service: Fix PID file location.
    
    Fixes <http://issues.guix.gnu.org/45202>.
    
    * gnu/services/security-token.scm (pcscd-shepherd-service): Look for
    pcscd.pid in /run instead of /var/run.
    
    Reported by Raffael Stocker <r.stocker@mnet-mail.de>.
---
 gnu/services/security-token.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/security-token.scm b/gnu/services/security-token.scm
index 354549b..da5314e 100644
--- a/gnu/services/security-token.scm
+++ b/gnu/services/security-token.scm
@@ -57,7 +57,7 @@
         (modules '((gnu build shepherd)))
         (start #~(lambda _
                    (invoke #$(file-append pcsc-lite "/sbin/pcscd"))
-                   (call-with-input-file "/var/run/pcscd/pcscd.pid" read)))
+                   (call-with-input-file "/run/pcscd/pcscd.pid" read)))
         (stop #~(make-kill-destructor)))))))
 
 (define pcscd-activation



reply via email to

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