Re: init script behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Once upon a time, Casey Dahlin <cdahlin@xxxxxxxxxx> said:
> 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.

A well-behaved daemon should be doing all the checking possible before
forking to go into the background.  The init scripts do check the exit
code, so configuration errors, failure to bind to sockets, etc. should
be (and in most cases are) caught that way.

-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux