Re: Disable a service
On Sat, Apr 09, 2011 at 11:04:52AM -0400, Dan wrote:
> Hi,
> I would like to know which is the standard way to disable services. I
> thought that the standard way is just to delete the link of the
> service from rc*.d
>
> For example to disable bluetooth I would just delete the link
> /etc/rc3.d/S20bluetooth that points to ../init.d/bluetooth
Some may disagree (and I've made this point before)
a standard way to prevent a script from
executing in Unixlike system is to set the
permissions.
chmod a-x /etc/init.d/bluetooth
> But then I used service manager from gnome to disable bluetooth. It
> disabled the service but it didn't delete the link. So I guess that
> there is a standard procedure to disable the service without deleting
> the link. Which is that procedure?
>
> Thanks,
> Dan
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] BANLkTi=8PHwgtS-DdaLMv=WYY8YOQ9mZtg@mail.gmail.com">http://lists.debian.org/[🔎] BANLkTi=8PHwgtS-DdaLMv=WYY8YOQ9mZtg@mail.gmail.com
>
--
Joel Roth
Reply to: