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" Subject: how to create a syslog-ng pidfile To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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/