[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Faster shutdown and the ubuntu "multiuser" update-rc.d extention

"Petter Reinholdtsen" <pere@hungry.com> wrote in message [🔎] 2flr6gyzkgu.fsf@klodrik.uio.no">news:[🔎] 2flr6gyzkgu.fsf@klodrik.uio.no...

[Joe Smith]
Obviously removing those scripts should have no impact on the other

Exactly, (unless there is a dependency relation between two scripts
and one of them is removed from the shutdown sequence. :).

Ok. Good catch. So it seems to me that any service that is not a shutdown prerquisite of annother service (a.k.a must be shut down first) and which can be cleanly shutdown with [SIGTERM; pause; SIGKILL] is a good candidate for removing the shutdown init script.

Any service that is a shutdown prerequisite, or has a more complicated clean shutdown procedure should remain using the initscript system for shutting down.

Those could still benefit from a parallelized initsystem, but that is beyond the scope of current discussion.

Reply to: