Subject: Re: On the proposal to augment NetBSD startup (/etc/rc*/*/*...) system
To: None <email@example.com>
From: Simon J. Gerraty <firstname.lastname@example.org>
Date: 01/20/2000 19:09:12
Appologies for bringing this up again, but I was talking about this
_briefly_ at dinner tonight (thanks Erik), and forgot to cover the
following which I figured _might_ be of wider interest.
The main reason I like start/stop scripts has nothing to do with the
issues of boot/shutdown, but rather day to day maintenance and more
importantly fault resolution via phone etc. Being able to tell an
operator (assumed to be clueless) to run
s/ntp/sendmail/ or any other daemon that normally runs all the time but
occasionally needs to be restarted to deal with a fault. Is far less
stressful for everyone than explaining how to run ps(1), grep(1) etc.
I actually put my start/stop scripts in /etc/rc_d (to ensure they
don't clobber vendor stuff) and they generally provide a restart and
check target as well so that a cron job can run
regularly, and the above mentioned operator could have been told to run
and of course once you have the start/stop/check/restart scripts for
the above, it makes a lot of sense to leverage them for booting. I
generally do nothing for shutdown (on BSD anyway) - the SIGTERM from
init is normally all that is needed, but its handy to have the hooks
Ok, back to work.