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