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