On Sat, Nov 30, 2013 at 1:31 PM, Peter Stuge <pe...@stuge.se> wrote:

> Or maybe yes. :) The condition I refered to is that the system is
> using openrc. Sorry if my weak language skills caused confusion!
>

What I mean is that it would be stupid to have USE=openrc to apply such a
patch. Either the patch is done correctly (does not break the daemon), or
is not. If the former is true, USE=openrc would be broken; if the latter is
true, why not simply apply it to begin with?

If you really don't want PID files (and it probably means you have never
had to deal with medium-scale deployments, but never mind), you can make it
so that `-p` is an optional parameter, and if not passed no pidfile is
created. And voilà, you can make an unconditional patch and even send it
upstream for other init systems that do rely on pidfiles that are not
OpenRC.

Diego Elio Pettenò — Flameeyes
flamee...@flameeyes.eu — http://blog.flameeyes.eu/

Reply via email to