Message-Id: <200508111021.j7BALZ03014930@delorie.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: Anyone running spfd on Cygwin? Date: Thu, 11 Aug 2005 05:21:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/