Here's an Upstart script we use: jonathan.fisher@databunker:~$ cat /etc/init/tomee.conf description "Apache TomEE Server"
# Make sure the file system and network devices have started before # we begin the daemon start on (filesystem and net-device-up IFACE!=lo) # Stop the event daemon on system shutdown stop on shutdown # Respawn the process on unexpected termination respawn env JAVA_HOME=/usr/local/java/jdk7 env CATALINA_HOME=/opt/tomee setuid tomee setgid tomee # The meat and potatoes exec $CATALINA_HOME/bin/catalina.sh run #cleanup temp and work post-stop script rm -rf $CATALINA_HOME/temp/* rm -rf $CATALINA_HOME/work/* end script *Jonathan Fisher* *VP - Information Technology* *Spring Venture Group* (o) 913-653-8820 On Mon, Aug 25, 2014 at 10:06 AM, Romain Manni-Bucau <[email protected]> wrote: > Hi > > Thiago started to work on a deb but if you want to push it clearly > make it visible @canonical/@ubuntu sides, that's the one who will make > it nice by default > > > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: http://fr.linkedin.com/in/rmannibucau > Github: https://github.com/rmannibucau > > > 2014-08-25 16:05 GMT+02:00 Kay Wrobel <[email protected]>: > > Hi Alex. > > > > I think this is a topic for the Debian/Ubuntu people because this team is > > not concerned with packaging for any Linux distribution, I'm afraid. But > to > > be honest, my experience with most Java-related stuff in Debian or > Ubuntu is > > you'd be installing manually. Just gotta get a hang of it. > > > > Kay > > > > > > On 08/25/2014 08:35 AM, Alex Belch wrote: > >> > >> Hi Everyone, > >> > >> Great software, I’ve been developing with TomEE for about a year, > >> its functionality is good and it’s rock solid reliable > >> My suggestion is: > >> It would be good if there was an apt-get install tomee > >> Installation to make installs to e.g ubuntu quick and automatic > >> > >> Alex > >> > >> -------- > >> > >> We'd like to hear about anything you'd like to tell us. If you're short > >> on ideas, here are some: > >> > >> - Ways we can speed up or improve your ability to evaluate TomEE > >> - Anything you found difficult or inconvenient about using TomEE > >> - Documentation you would like to see > >> - Features you would like to have > >> - Anything in general to improve TomEE or help us grow > >> > >> Keep in mind that out of every 100 people that try something out, maybe > >> one will actually post about it. Feel incredibly encouraged to let us > know > >> about your experiences with TomEE even if you think we've heard it a > hundred > >> times. Odds are we have not heard it and, if we have, the most > requested > >> things are done first. So definitely let us know! > >> > >> Apache TomEE is free, but you can pay us with feedback :) > >> > >> Best regards, > >> The Apache TomEE community > > > > > -- Email Confidentiality Notice: The information contained in this transmission is confidential, proprietary or privileged and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act (HIPAA). The message is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited and may subject you to criminal or civil penalties. If you received this transmission in error, please contact the sender immediately by replying to this email and delete the material from any computer.
