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