delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/02/15:40:55

X-Spam-Check-By: sourceware.org
Message-ID: <20060402194047.15398.qmail@web31307.mail.mud.yahoo.com>
Date: Sun, 2 Apr 2006 12:40:47 -0700 (PDT)
From: "Bryan D. Thomas" <cinder_bdt AT yahoo DOT com>
Subject: how to create a syslog-ng pidfile
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

My syslog-ng on Cygwin does not have an associated
/var/run/syslog-ng.pid file.  I'd like to have this as
an aid to rotating the logs.

To generate a pidfile for syslog-ng, should I try the
-p switch to syslog-ng, (i.e. using the -a argument to
cygrunsrv) or the -x argument to cygrunsrv?  Or, will
neither of these work?

The /bin/syslog-ng-config script passes -F on to
syslog-ng already.  I'm thinking this is the reason a
pidfile is not naturally written, and that passing -p
will also have no effect?

I'm also wondering, since René correctly warned me
against editing the registry, how would I change the
way my existing service works?

Is the correct way to use cygrunsrv -R syslog-ng to
remove the service, then construct a new cygrunsrv -I
command with the appropriate arguments to install it?

I'm not seeing this guideline in the cygrunsrv.README
file explicitly, but I confess that I'm losing track
of all the things I've read recently.

Thanks for your attention and advice,

Bryan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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