3 ms·
A lot of init script writing was made easy for years with tools like the lsb* functions and start-stop-daemon. It would’ve been cool to have functions that sup
by gorgoiler 6y ago
A lot of init script writing was made easy for years with tools like the lsb* functions and start-stop-daemon.
It would’ve been cool to have functions that supported dependency in the scripts themselves. A web server would have a call to...
init_wait_for networking
...which blocks until some higher level networking script calls:
init_ready networking
...but the standardised LSB header magic-comment stuff was also fine when it came to handling dependencies.
Doing all this with INI files is very clever but it’s always felt very NIH. Good solutions solve existing problems without rewriting and embracing everything from the ground up.