Richi Plana (myfedora(a)richip.dhs.org) said:
Are there use-cases where feedback on service shutdown would be
desired?
It seems that if there were, a couple of lines of text would be
minimalist.
If sourcing shells and scripts has become a sticky point, then perhaps
that functionality should be included in init. Which sort of brings up
the topic of evaluating current init replacements (or, better yet, an
init, changerunlevel, shutdown system).
I'd need to benchmark some more, but I suspect the delay is because of
a linear sequence of:
- kill -TERM $pid
- wait to see if it's dead
- kill -KILL $pid
for each service, as opposed to a global
- kill -TERM $everything
- wait a second
- kill -KILL $everything
Bill