[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting runlevel to single-user
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: setting runlevel to single-user
- From: Lars Hansson <lars_(_at_)_unet_(_dot_)_net_(_dot_)_ph>
- Date: Wed, 27 Oct 2004 10:49:40 +0800
Brett Lymn wrote:
Do not make the mistake of looking at Linux for an example of a decent
init script implementation - every is agreeing here that sucks.
a look at a recent edition of NetBSD or FreeBSD, have a look at their
rc.d directory, the scripts are in one place, the options are contained
in an rc.conf file - just one file to control whether a daemon is activated
or not, and what options to pass it.
Fair enough, I've only had the misfortune of dealing with Linux init.
People who only have experience with small or hobbyist installations rarely
see the point of a more sophisticated method of stopping and starting
services. Generally (and there will be exceptions I suppose), people who
deal with many machines or complex environments appreciate the usefulness
of encapsulating the starting of stopping services. Being able to reboot
a machine and have the multi-tier oracle database application cleanly restart
is an essential thing.
Exactly, and that's why I prefer daemontools/runit. They provide a
cleaner and more reliable way to start/stop/pause/etc services
than SysV init. No pidfiles or grep'ing ps output or other nasty