Lähettäjä: Joel Roth Päiväys: Vastaanottaja: dng Aihe: Re: [DNG] Command to permanently prevent sysvinit from starting
daemon
On Sun, Oct 21, 2018 at 08:50:40AM -0400, Steve Litt wrote: > On Sun, 21 Oct 2018 02:25:04 -1000
> Joel Roth <joelz@???> wrote:
>
> > On Sat, Oct 20, 2018 at 11:52:53PM -0700, Jimmy Johnson wrote:
> > > On 10/20/18 11:18 PM, J. Fahrner wrote:
> > > > Am 2018-10-21 08:10, schrieb Steve Litt:
> > > > > In Devuan, what's the command to permanently prevent sysvinit
> > > > > from starting a daemon.
> > > >
> > > > man update-rc.d
> > > >
> > > > You can remove or disable a service.
> > > >
> > > > Jochen
> > >
> > > Can a person simple remove the 'exe' properties from the rc-*
> > > script or just rename it?
> >
> > I don't remember the symlink maintenance scripts, so I
> > usually do this:
> >
> > chmod a-x /etc/init.d/exim4
>
> Does your next update undo that?
Not tested, but AFAIK during an upgrade Debian does not
clobber any config files that have been altered or had
permissions changed without prompting.