summarylogtreecommitdiffstats
path: root/jetty.service
blob: ca96eecec5d7155bcc81975969ca32b74f351ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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