summaryrefslogtreecommitdiff
path: root/tomcat-10.1.service
diff options
context:
space:
mode:
Diffstat (limited to 'tomcat-10.1.service')
-rw-r--r--tomcat-10.1.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/tomcat-10.1.service b/tomcat-10.1.service
new file mode 100644
index 0000000..af224f2
--- /dev/null
+++ b/tomcat-10.1.service
@@ -0,0 +1,20 @@
+# Systemd unit file for default tomcat
+#
+# To create clones of this service:
+# DO NOTHING, use tomcat10.1.54@.service instead.
+
+[Unit]
+Description=Apache Tomcat Web Application Container
+After=syslog.target network.target
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/tomcat10.1.54/tomcat10.1.54.conf
+Environment="NAME="
+EnvironmentFile=-/etc/sysconfig/tomcat10.1.54
+ExecStart=/usr/libexec/tomcat10.1.54/server start
+SuccessExitStatus=143
+User=tomcat
+
+[Install]
+WantedBy=multi-user.target