Mail Archives: cygwin/2006/04/02/15:40:55
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 -