Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 17 May 2001 08:43:36 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Suiqd as service [was: Re: New on sources: cygrunsrv-0.92]
Message-ID: <20010517084336.P31266@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <3B031E1D.32421.5D70A1A@localhost> <02c601c0de59$b5f91730$0200a8c0@lifelesswks>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <02c601c0de59$b5f91730$0200a8c0@lifelesswks>; from robert.collins@itdomain.com.au on Thu, May 17, 2001 at 08:44:03AM +1000

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

