Tomas wrote:
> Watching the thread about startup script I thought of a question about
> shutdown script. Is it necessary to shutdown certain services when
> machine goes down? Like for example mysql, dovecot, clamav, amavis or
> openvpn.

I myself can't say if it's necessary, but it is probably good practice.

I do notice that OpenBSD does not use anything similar to System V
runlevels (which may or may not be good to avoid) but does provide
/etc/rc.shutdown:
        http://www.openbsd.org/cgi-bin/man.cgi?query=rc.shutdown

> I've never saw anybody do that...

Checking on my systems, I see that none of the packages that run daemons
use it, even the ones installed from the official packages and ports.
In fact, rc.shutdown appears completely empty.  Perhaps you have found
an error / oversight?

Regards,
-Lars

Reply via email to