In previous post we have setup Tomcat to run its multiple instances now we want that tomcat should start automatically on server reboots. This can bee achieved by adding tomcat service script.
Introduction
This document will teach us how to setup Tomcat to run as a service (startup when booted) on Linux.
Intended Audience: System admins.
Instructions to setup Tomcat to run as a service (startup when booted) on Linux.
It is actually easy and will be presented step by step.
1. Save tomcat start / stop script
Copy and paste the following script into text editor: