diff options
Diffstat (limited to 'base/tks/shared/lib/systemd')
-rw-r--r-- | base/tks/shared/lib/systemd/system/pki-tksd.target | 8 | ||||
-rw-r--r-- | base/tks/shared/lib/systemd/system/pki-tksd@.service | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/base/tks/shared/lib/systemd/system/pki-tksd.target b/base/tks/shared/lib/systemd/system/pki-tksd.target new file mode 100644 index 000000000..3e2b89edd --- /dev/null +++ b/base/tks/shared/lib/systemd/system/pki-tksd.target @@ -0,0 +1,8 @@ +[Unit] +Description=PKI Token Key Service +After=syslog.target network.target + +[Install] +WantedBy=multi-user.target + + 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 + |