/var/run is a bad place to put config files anyhow. I use /etc/jettybase
--
Lobos Studios | Phone: 877.919.4WEB | LobosStudios.com |
Facebook.com/LobosStudios | @LobosStudios
Web Development - Mobile Development - Helpdesk/Tech Support - Computer
Sales & Service
Acer Authorized Reseller - Computers, Windows and Android Tablets,
Accessories
Steve Sobol - CEO, Senior Developer and Server Jockey
[email protected]
------ Original Message ------
From: "Alexander Farber" <[email protected]>
To: "JETTY user mailing list" <[email protected]>
Sent: 6/27/2016 13:38:31
Subject: Re: [jetty-users] WordPress on CentOS 7 Linux
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