Created
July 18, 2017 08:25
-
-
Save danielkeller/496fff6179df76316d4c5d9bd6eb5dd8 to your computer and use it in GitHub Desktop.
Systemd unit for Jetty
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Jetty Web Application Server | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
PIDFile=/var/run/jetty.pid | |
ExecStart=/opt/jetty/jetty/bin/jetty.sh start | |
ExecStop=/opt/jetty/jetty/bin/jetty.sh stop | |
ExecReload=/opt/jetty/bin/jetty.sh restart | |
SuccessExitStatus=143 | |
TimeoutStartSec=5min | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment