summaryrefslogtreecommitdiffstats
path: root/base/tks/shared/lib/systemd/system/pki-tksd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'base/tks/shared/lib/systemd/system/pki-tksd@.service')
-rw-r--r--base/tks/shared/lib/systemd/system/pki-tksd@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/base/tks/shared/lib/systemd/system/pki-tksd@.service b/base/tks/shared/lib/systemd/system/pki-tksd@.service
new file mode 100644
index 000000000..d624eece4
--- /dev/null
+++ b/base/tks/shared/lib/systemd/system/pki-tksd@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=PKI Token Key Service %i
+After=pki-tksd.target
+BindTo=pki-tksd.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/pkicontrol start tks %i
+ExecStop=/usr/bin/pkicontrol stop tks %i
+
+[Install]
+WantedBy=multi-user.target
+