Turning off services.
Tez
binary_y2k2 at blueyonder.co.uk
Thu Jul 20 04:37:38 UTC 2006
gabrielle harrison and Paul van den Bergen wrote:
> Hi All,
>
> for various reasons I have several services such as PostgreSQL and
> apache running on my system. I needed them at the time (testing a LAMP
> application for a friend to see if it waas suitable for his needs). I
> no longer need them at the moment and would like to shut them off
> without deleting them. I presume this is just a matter of
> removing/disabling the /etc/rc.d files? Or is there a simpler method?
>
>
> --Dr Paul van den Bergen
> Chance favours the prepared mind
>
Yes you have to remove the links in /etc/rc*.d/
but an easyer way of doing it is:
$ sudo update-rc.d -f [service] remove
eg
sudo update-rc.d -f apache remove
If you want to re-enable it you can just
$ sudo update-rc.d apache defaults 91
Tez
More information about the kubuntu-users
mailing list