Tuesday, March 27, 2012

Creating start up service in Ubuntu

I was trying to add startup script for my tomcat service, so wrote the following commands and it pretty much solved it.


update-rc.d FOO defaults
mv catalina-dmd /etc/init.d/
chmod +x /etc/init.d/catalina-dmd