Here i have created a script for starting and stopping tomcat service named it as ts and placed it on /etc/init.d in order to make this script work u need to link it with Os Run level
Go to /etc/rc.5 (Run Level 5)
ln -s /etc/init.d/ts s71ts
Link your script with rc.5 script directory
2 comments:
Rakesh,It suppose to be tc not ts in the path /etc/init.d/tc
Thx for pointing it out
Post a Comment