[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about tomcat




I want to ask you if there is any way to get tomcat does not start
automatically when linux starts. I know I can delete all
/etc/rcx.d/S20tomcat4 links, but, there is another way? (as editing
parameter start_at_boot in /etc/tomcat/default, for example).


use the command "update-rc.d" to properly handle init scripts under Debian.

Could you precise in what way it can be used to achive this behaviour?

Last time I tried, 'update-rc.d X remove' will by default not work if /etc/init.d/X exists. Yes, you can force it, but that does not sound right. And is not satisfactory if the links are recreated on update as Mike suggests.

Personally, I would add a 'exit' at the top of /etc/init.d/tomcat. Not sure if that will be preserved upon upgrades either, though.

Daniel




Reply to: