linux.debian.devel
[Top] [All Lists]

Re: Standard way to disable services

Subject: Re: Standard way to disable services
From: Florian Weimer <fw@xxxxxxxxxxxxx>
Date: Sat, 26 Jul 2008 22:30:17 +0200
Newsgroups: linux.debian.devel

* Harald Braumann:

> quite often I just want to disable a service in /etc/init.d. But there
> doesn't seem to be a standard way to do that.

I usually put "exit 0" near the top of the init script.  The symlink
stuff is far too brittle.

I haven't tried Nico's suggestion to use file-rc; if it works, it's
certainly an improvement.


-- 
To UNSUBSCRIBE, email to debian-devel-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>