delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/17/06:48:19

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
From: "Gerrit P. Haase" <gerrit DOT haase AT t-online DOT de>
Organization: Esse keine toten Tiere
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Date: Thu, 17 May 2001 12:47:58 +0200
MIME-Version: 1.0
Subject: Re: Suiqd as service [was: Re: New on sources: cygrunsrv-0.92]
Reply-to: gerrit DOT haase AT t-online DOT de
Message-ID: <3B03C87E.3889.8709532@localhost>
In-reply-to: <20010517084336.P31266@cygbert.vinschen.de>
References: <02c601c0de59$b5f91730$0200a8c0 AT lifelesswks>; from robert DOT collins AT itdomain DOT com DOT au on Thu, May 17, 2001 at 08:44:03AM +1000
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001 AT t-dialin DOT net

Corinna Vinschen schrieb am 2001-05-17, 8:43:

> 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
> 

Yes, that should do it.

> 
> 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.

Hmm, o.k. i'll take a look, but i couldn't promise to provide a patch,
so everyone feel free to do it, before i get it managed.

gph

-- 
=^..^=

--
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