services: pcscd-shepherd-service: Fix PID file location.
authorTobias Geerinckx-Rice <me@tobias.gr>
Sat, 12 Dec 2020 21:57:16 +0000 (22:57 +0100)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sat, 12 Dec 2020 22:10:05 +0000 (23:10 +0100)
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

index 354549b..da5314e 100644 (file)
@@ -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