summarylogtreecommitdiffstats
path: root/jetty.service
blob: da7d96af9ae8647da8419cd39c96bbd0b2f34c6a (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 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
RuntimeDirectory=jetty
User=jetty
Group=jetty

[Install]
WantedBy=multi-user.target