This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Suiqd as service [was: Re: New on sources: cygrunsrv-0.92]


On Thu, May 17, 2001 at 08:44:03AM +1000, Robert Collins wrote:
> ----- Original Message -----
> > Squid forks not with -N, that is true, but it is not the same like
> > with other daemons.
> > With -N it does not forking AND does not run in the background,
> > (according to the docs) so if it is not able to print on stderr ...
> 
> cygrun should be redirecting stdin,stdout and sterr. I don't know it if
> does for sure - Corinna?

No, it doesn't yet. What about adding three options:

--stdin <file>,		defaults to /dev/null

--stdout <file>,	defaults to /var/log/<svc_name>.log

--stderr <file>,	defaults to /var/log/<svc_name>.log

???

BTW, cygrunsrv is strictly GPL'd. As you can see from the version
number (0.92) I don't think it's already finished. Feel free to
send me patches and extensions. It's not a big load of code so I
think it's an easy project for beginners as well.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]