4 ms·
They can, and init systems already do that. Init scripts import a common library with functions for starting and stopping daemons etc. However the result is sti
by FooBarWidget 13y ago
They can, and init systems already do that. Init scripts import a common library with functions for starting and stopping daemons etc. However the result is still a big mess. Libraries are not frameworks, so you still end up with tons of boilerplate code everywhere. Take a look at /etc/init.d/* and see whether you can make sense of things at a glance.
Furthermore, SysV init is not designed for service supervision, so SysV init scripts cannot implement that functionality.