diff options
Diffstat (limited to 'roles/_workstation/smartcard/templates/pcscd-sleep.service.j2')
-rw-r--r-- | roles/_workstation/smartcard/templates/pcscd-sleep.service.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/_workstation/smartcard/templates/pcscd-sleep.service.j2 b/roles/_workstation/smartcard/templates/pcscd-sleep.service.j2 new file mode 100644 index 0000000..14848ae --- /dev/null +++ b/roles/_workstation/smartcard/templates/pcscd-sleep.service.j2 @@ -0,0 +1,10 @@ +[Unit] +Description=stop pcscd on sleep +After=sleep.target + +[Service] +Type=oneshot +ExecStart=/usr/bin/systemctl --no-block stop pcscd.service + +[Install] +WantedBy=sleep.target |