On Wed, Nov 01, 2006 at 05:39:12PM +0000, Alex Smith <[EMAIL PROTECTED]> wrote:
> 1) Services in Runit *need* to have the daemon running in the foreground. 
> This is a 
> *big* problem with some daemons that do not support being run in the 
> foreground. They 
> could not be used with runit's service management.

almost all daemons have such a switch and if one does not then we can
add one - upstream will accept such a patch imho

> 2) Runit will respawn a service if it dies, no matter what. This can be good 
> in some 
> cases, for example servers that cannot be monitored all the time - this is 
> what the 
> feature was designed for. However, if you have foo service that for any 
> reason is not 
> working, and just exits at startup, Runit will constantly be trying to 
> restart it. This 
> can really bog down desktop systems. There is no system of "if it dies x 
> times within y 
> minutes, give up for z minutes"

hm. init handles this in the following way: try to start 5 times, then
sleep for 5 mins (maybe the numbers are configurable)

if runit does not have such a feature, then i would suggest mail the
author if he likes such a feature or not. if yes, then we could request
this feature or create a patch for it then send it to the author

udv / greetings,
VMiklos

-- 
Developer of Frugalware Linux, to make things frugal - http://frugalware.org
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to