1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-22 02:00:29 +02:00

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

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