Skip to content

Commit

Permalink
systemd: use /etc/default/pcscd as EnvironmentFile
Browse files Browse the repository at this point in the history
If you want to set environment variables to change the behavior of pcscd
you can use the file /etc/default/pcscd

For example you can add in this file:
PCSCLITE_FILTER_IGNORE_READER_NAMES="Twin"
so that readers with "Twin" in the name will be ignored.

See "Remove and/or customize PC/SC reader names"
https://ludovicrousseau.blogspot.com/2015/12/remove-andor-customize-pcsc-reader-names.html

Thanks to Maurizio Avogadro for the idea
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989316
  • Loading branch information
LudovicRousseau committed Jun 1, 2021
1 parent 221da22 commit de70032
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/pcscd.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Documentation=man:pcscd(8)
[Service]
ExecStart=@sbindir_exp@/pcscd --foreground --auto-exit
ExecReload=@sbindir_exp@/pcscd --hotplug
EnvironmentFile=-@sysconfdir@/default/pcscd

[Install]
Also=pcscd.socket

0 comments on commit de70032

Please sign in to comment.