summarylogtreecommitdiffstats
path: root/jetty.service
blob: c200add57efe44eaf6f772d571843409250cfcc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 11 Web Application Server
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/bin/jetty11 start
ExecStop=/usr/bin/jetty11 stop
ExecReload=/usr/bin/jetty11 restart
PIDFile=/run/jetty11/jetty.pid
RuntimeDirectory=jetty11
User=jetty11
Group=jetty11

[Install]
WantedBy=multi-user.target