summaryrefslogtreecommitdiff
path: root/plugins/smartcard/gsd-smartcard.service.in
blob: e8a5a6a0ee7e2141d83486d6774828f1f36b3c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=GNOME Smartcard handling
# Note that we do the shenanigans with having a target and a service solely
# so that OnFailure is not called in case of a dependency failure.
# See also https://github.com/systemd/systemd/issues/12352
OnFailure=gnome-session-failed.target
CollectMode=inactive-or-failed
RefuseManualStart=true
RefuseManualStop=true

PartOf=gsd-smartcard.target
After=gnome-session-initialized.target

[Service]
Type=dbus
ExecStart=@libexecdir@/gsd-smartcard
Restart=on-failure
BusName=@plugin_dbus_name@