[SOLVED] Re: how to create a syslog-ng pidfile

2006-04-04 Thread Bryan D. Thomas
"Igor Peshansky" wrote: > For some applications that are unable to work in the foreground, cygrunsrv > contains the -x option, which makes it check the pid file instead of > waiting for the child process. That way the child can fork and detach, > and cygrunsrv can still control it via the pid in t

Re: how to create a syslog-ng pidfile

2006-04-03 Thread Igor Peshansky
On Mon, 3 Apr 2006, Bryan D. Thomas wrote: > > 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? > > I tried removing the service using cygrunsrv, then installing the > service with the c

Re: how to create a syslog-ng pidfile

2006-04-03 Thread Bryan D. Thomas
> 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? I tried removing the service using cygrunsrv, then installing the service with the changed option. But, when starting the service again,

how to create a syslog-ng pidfile

2006-04-02 Thread Bryan D. Thomas
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