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>.
This commit is contained in:
Tobias Geerinckx-Rice 2020-12-12 22:57:16 +01:00
parent 18918ebeeb
commit 8f2656f1de
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View 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