summarylogtreecommitdiffstats
path: root/jetty.service
diff options
context:
space:
mode:
authoryegorius2015-06-24 11:45:01 +0300
committeryegorius2015-06-24 11:45:01 +0300
commitecfd6d054675da97bec5d9264a36477963ec3210 (patch)
tree82cb24dec2054cc79ab896541468263e846a7b62 /jetty.service
downloadaur-ecfd6d054675da97bec5d9264a36477963ec3210.tar.gz
Initial import
Diffstat (limited to 'jetty.service')
-rw-r--r--jetty.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/jetty.service b/jetty.service
new file mode 100644
index 000000000000..ca96eecec5d7
--- /dev/null
+++ b/jetty.service
@@ -0,0 +1,19 @@
+# Systemd unit file for jetty
+#
+# Multiple copies of this service (i.e. multiple concurrently running
+# jetty servers) are not supported right now. Expect this to come with
+# future updates
+
+[Unit]
+Description=Jetty Web Application Server
+After=syslog.target network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/jetty start
+ExecStop=/usr/bin/jetty stop
+ExecReload=/usr/bin/jetty restart
+PIDFile=/run/jetty/jetty.pid
+
+[Install]
+WantedBy=multi-user.target