Koozali.org: home of the SME Server

Permanently removing a Service

acemake

Permanently removing a Service
« on: June 02, 2005, 09:36:05 PM »
A while ago I installed ASSP on an SME6 box via Darrell's rpm (1.0.9).

This is the only time I have used the RPM installation as opposed to doing it manually.

Today I tried to update to the latest version of ASSP, which is normally just a question of replacing 2 files.  However as soon as I did the installation it broke, with lots of "Bad Interpreter" errors on the console.

Now Darrells RPM installs ASSP as a service, as opposed to calling it from rc.local, so it took me a while to figure out what was going on. The service keeps re-spawning itself and eventually chews up all the power on the box.

Running ASSP manually works fine so I would like to uninstall the service and just call it from rc.local. I've figured out from here how to disable a service but I can't find anything that tells me what needs to be deleted in order to remove the service permanently.

Is there a service removal howto? Or a good description of how services actually work kicking around as I've drawn a blank?

Offline jackl

  • ****
  • 136
  • +0/-0
Permanently removing a Service
« Reply #1 on: June 03, 2005, 06:40:43 PM »
acemake

Look in /etc/rc.d The service could have entries in rc0.d to rc7.d depending on what runlevel it loads at and also in rc0.d or rc6.d to shutdown it down cleanly. The files in these folders are links that point to the start/stop scripts in /etc/rc.d/init.d.

You can use "chkconfig --list" to see the level options for the service/application.

Regards
Jack.
......