delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/12/12:56:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: cygrunsrv process logs
Date: Tue, 12 Aug 2008 11:56:00 -0500
Lines: 40
Message-ID: <g7sfae$hdi$1@ger.gmane.org>
References: <48A161FA DOT 3030500 AT nethence DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
In-Reply-To: <48A161FA.3030500@nethence.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Pierre-Philipp Braun wrote:

> Since I used cygrunsrv against fetchmail, I don't get fetchmail logs
> anymore.
>=20
> Here's how I made it,
> 	cygrunsrv.exe --install fetchmail \
> 	--path /usr/bin/fetchmail \
> 	--env HOME=3D$HOME \
> 	--user "ppbraun" \
> 	--args '--nodetach' \
> 	--shutdown
> Into service's properties, username is,
> 	.\ppbraun
> is that normal with the dot and backslash ?

Yes, it's the Windows user notation (domain\username).

> And inside .fetchmailrc I got this,
> 	set postmaster "ppbraun"
> 	set nobouncemail
> 	set daemon 60
> 	set logfile /home/ppbraun/fetch.log
>=20
> But I doesn't create the fetch.log file.  Any idea why ?

Run: cygrunsrv -VQ fetchmail

What is in "Environment" ? is it "/home/ppbraun" or something else?

> When switching off or putting windows into sleep, does it wait for
> fetchmail to finish ?  That's why I need to check the logs...

When Windows is shut down all services are sent a TERM signal (it's in=20
the documentation), you can change the signal if needed.

When Windows is put into hibernation nothing is sent, your service is=20
unaware of what happened or, more interesting, the time leap afterwards.
--=20
Ren=E9 Berber


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