summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-12-12 22:57:16 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-12-12 23:10:05 +0100
commit8f2656f1debffe92ea088f4c88cfe8ec560b2ba3 (patch)
tree1ced1a1634c3ec29616576ee883183a2b4754c8a
parent18918ebeeb152731e06634a003e8cf3edd24f6a3 (diff)
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>.
-rw-r--r--gnu/services/security-token.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/security-token.scm b/gnu/services/security-token.scm
index 354549b33c..da5314e7d5 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