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