delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/11/06:21:36

Message-Id: <200508111021.j7BALZ03014930@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Herb Martin" <HerbM AT learnquick DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Anyone running spfd on Cygwin?
Date: Thu, 11 Aug 2005 05:21:39 -0500
MIME-Version: 1.0
In-Reply-To: <42FA835B.8101B48F@dessent.net>

> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Brian Dessent
> Sent: Wednesday, August 10, 2005 5:45 PM
> To: cygwin AT cygwin DOT com
> Subject: Re: Anyone running spfd on Cygwin?
> 
> Herb Martin wrote:
> 
> > I can find no combination of switches that will put it into the 
> > background and leave it functional.
> 
> You should use cygrunsrv and run it as a service.  That is 
> the windows equivalent of a unix background daemon.
> 

Another great suggestion from you Brian.  I had 
become so overfocused on running it from the command
line until I could get it tested that it slipped my
mind that this could just be run as a service.

(I didn't get it tested yet -- as I am still putz
around trying to learn to use socat to test it, but
this should work and I did turn it into a service
running on a "different socket" for these tests. As
soon as I prove it's working that is the way I will
use it.)

Thanks again.

Can a Cygwin program that is being run as a service
be effectively sent a "HUP" to get it to re-read it's
configuration?

Assumptions:  That service accepts HUP and reloads its
configuration when run as a daemon.

Or must such services be stopped and restarted completely?

--
Herb Martin


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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