Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java install tomcat as service

I'm planning to develop an application installer which, as a part of installation, installs Apache Tomcat on Linux. Does anyone know how can I programmatically install Tomcat as service on Linux. Best

like image 215
Mehraban Avatar asked Aug 30 '25 18:08

Mehraban


1 Answers

If you have Tomcat installed already, you probably need to put a start up script for Tomcat in /etc/init.d

This article has a decent start up script.

http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/

like image 84
Ed Manet Avatar answered Sep 02 '25 09:09

Ed Manet