I would like to add for archives that it has been a bad idea to use
/var/run/jetty (or /run/jetty) as JETTY_BASE, because that dir turned out
to be deleted on Linux reboot :-)
Here is my corrected /etc/systemd/system/jetty.service:
[Unit]
Description=Jetty
After=network-online.target
[Service]
Type=simple
User=jetty
Group=jetty
ExecStart=/usr/bin/java -jar
/usr/share/java/jetty-distribution-9.3.10.v20160621/start.jar
jetty.home=/usr/share/java/jetty-distribution-9.3.10.v20160621
jetty.base=/var/www/jetty jetty.http.port=8888
ExecStop=/bin/kill ${MAINPID}
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target
Regards
Alex
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users