September 14, 2016

Creating an Init Script in Ubuntu 14.04

Creating an Init Script in Ubuntu 14.04

In Ubuntu, you create init scripts using the SysV init system. Details are here. In this article, I will create a very simple script to start and stop Tomcat. In this tutorial, our goal is to start and stop Tomcat as the user “joe”. First, we will create a script called tomcat in /etc/init.d folder.

Continue reading “Creating an Init Script in Ubuntu 14.04”

[ Read More ]