Commit graph

7 commits

Author SHA1 Message Date
Arun Isaac
037bfd8545
services: pcscd: Use switch-symlinks from (guix build utils).
switch-symlinks has been moved to (guix build utils). We need not duplicate it
anymore.

* gnu/services/security-token.scm (pcscd-activation): Use switch-symlinks
from (guix build utils).
2022-06-25 01:43:08 +05:30
Brice Waegeneire
e789ce538e
services: pcscd: Fix daemon signal handling.
"pcscd" wouldn't handle SIGTERM as it inherit ignoring this signal (and
others) from its parent shepherd; fork+exec-command restore signal
handling.  Fixes <https://issues.guix.gnu.org/45202>.

* gnu/services/security-token.scm (pcscd)[start]: Use
fork+exec-command to start "pcscd".
2021-07-03 20:13:42 +02:00
Brice Waegeneire
4bed8486d4
services: pcscd: Cleanup socket when started.
Otherwise when pcscd doesn't terminate properly (ie. receive a SIGKILL),
it won't start again because of it's socket already existing.

* gnu/services/security-token.scm (pcscd-shepherd-service)[start]:
Remove existing socket file.
2021-06-19 23:49:18 +02:00
Tobias Geerinckx-Rice
a4cd86ff4b
gnu: htop: Update to 3.0.3.
* gnu/packages/admin.scm (htop): Update to 3.0.3.
2020-12-13 00:35:49 +01:00
Tobias Geerinckx-Rice
8f2656f1de
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>.
2020-12-12 23:10:05 +01:00
Chris Marusich
6fb6ac6857
gnu: services: Fix pcscd activation bug.
Fixes: <https://bugs.gnu.org/32478>.

* gnu/services/security-token.scm (pcscd-activation): Idempotently create the
/var/lib/pcsc symlink so that it does not fail when it already exists.
2018-08-20 21:43:56 -07:00
Arun Isaac
de30205ba0
gnu: services: Add pcscd service.
* gnu/services/security-token.scm: New file.
* gnu/tests/security-token.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register new files.
* doc/guix.texi (Miscellaneous Services): Document the service.
2018-08-16 02:46:27 +05:30