delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/17/02:44:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 17 May 2001 08:43:36 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT 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 AT cygwin DOT com
References: <3B031E1D DOT 32421 DOT 5D70A1A AT localhost> <02c601c0de59$b5f91730$0200a8c0 AT lifelesswks>
Mime-Version: 1.0
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 AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019