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