Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 15 Aug 2005 20:43:17 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Daniel Franke <daniel@quanza.net>
cc: cygwin@cygwin.com
Subject: Re: rsync daemon not starting as windows service
In-Reply-To: <200508111110.25902.daniel@quanza.net>
Message-ID: <Pine.GSO.4.61.0508152041480.9560@slinky.cs.nyu.edu>
References: <200508101505.41578.daniel@quanza.net> <42FA813C.24C10D35@dessent.net>  <200508111110.25902.daniel@quanza.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 11 Aug 2005, Daniel Franke wrote:

> On Thursday 11 August 2005 00:35, Brian Dessent wrote:
> > Daniel Franke wrote:
> > > I added it with this command:
> > > cygrunsrv.exe -I rsyncd -p /bin/rsync.exe -a "--daemon"
> >
> > Using --daemon will cause the process to try and detach from the
> > session.  That is not what you want.  Cygrunsrv is meant to supervise
> > normal processes running in the foreground.  Try --daemon --no-detach.
> >
> > If this does not help, then you'll need to provide the requested
> > information in <http://cygwin.com/problems.html>, specifically your
> > cygcheck output.
>
> That worked perfectly.

And, for future readers of this thread in the list archives, the exact
command that Brian suggested is in the "Mini-HOWTO to use as a service"
section of /usr/share/doc/Cygwin/rsync-2.6.3.README.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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

