Turning off services.

Andre Haupt andre.haupt at gmx.de
Thu Jul 20 17:26:14 UTC 2006


Tez wrote:
> 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
>
>
>   
Isnt there something like
sudo /etc/init.d/postgresql stop?




Best,

Andre




More information about the kubuntu-users mailing list