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?= Subject: Re: cygrunsrv process logs Date: Tue, 12 Aug 2008 11:56:00 -0500 Lines: 40 Message-ID: References: <48A161FA DOT 3030500 AT nethence DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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 Precedence: bulk List-Id: List-Unsubscribe: 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 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/