init script behaviour
Casey Dahlin
cdahlin at redhat.com
Tue Jun 15 18:05:18 UTC 2010
On Tue, Jun 15, 2010 at 03:30:05PM +0300, Manuel Wolfshant wrote:
> On 06/15/2010 03:08 PM, Joe Orton wrote:
*snip*
> > Thoughts?
> Well, I'd say it depends on how we define the "start" part. "fire and
> forget", "start and make sure it was started" or "start and make sure
> it is running".
>
I'd say fire and forget or something close for most sysv initscripts. If
you want to do better you need a modern tool like systemd/upstart/etc.
Trying to do it better in bash just makes for piles of ugly, and the
weird failure modes and corner cases will usually end up being worse
than the problem.
--CJD
More information about the devel
mailing list