On Fri, Jun 15, 2012 at 04:06:24PM -0500, Jonathan Nieder wrote: > Marc Haber wrote: > > On Thu, May 19, 2011 at 05:05:33PM +0100, Nicholas Bamber wrote: > > >> It would be nice to have --stderr, --stdout and --stdin options to control > >> the IO of the daemon process. > > > > +1! > > Can you say a little more? What daemon, what workaround are you using > instead, can you think of any possible downsides and how do you suggest > mitigating them, etc?
The "daemon" in my case is atop, which writes its error messages to stderr, and upstream wants to have those in a log. I have worked around the s-s-d limitation by having s-s-d call a wrapper around atop which does the redirection and then execs atop - much ugly, and introducing a nice new class of errors since the process changes names. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

