I am sure that this comment will not be of interest to anyone, but when I had this issue originally it happened that upstream had provided a sort of daemon wrapper process called "duende". That is now available as one way of solving this issue. Noone would be more suprised than me if duende became the standard way of solving these sort of issues in Debian.
On 16/06/12 13:40, Guillem Jover wrote: > On Sat, 2012-06-16 at 13:32:01 +0200, Marc Haber wrote: >> On Sat, Jun 16, 2012 at 04:50:40AM +0200, Guillem Jover wrote: >>> I was looking into this recently and came to the conclusion that it >>> makes more sense to ask s-s-d to not close the file descriptors, which >>> would allow the caller to setup any (complex) redirections on their >>> own, and needs less options from s-s-d side. >> >> Would it be possible to simply write s-s-d --no-close --background >> daemon -- $OPTS > /var/log/mydaemon.log with this option, or would I >> get into quoting hell? > > Yeah that'd be the idea, but I'm not exactly sure what you mean with > "quoting hell". > > thanks, > guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org