This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Anyone running spfd on Cygwin?


> [mailto:cygwin-owner@cygwin.com] On Behalf Of Brian Dessent
> Sent: Wednesday, August 10, 2005 5:45 PM
> To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]