|
Home > Archive > Perlbal > September 2007 > [PATCH] Perlbal writes pid to file
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[PATCH] Perlbal writes pid to file
|
|
| Brett G. Durrett 2007-09-12, 7:11 pm |
|
Attached is a patch for 1.59 that will allow you to specify a pidfile in
the configuration... it has been lightly tested with both console and
daemon mode and, well, the pid seems to match the running process in
each case.
If no 'pidfile' option is provided perlbal functionality does not
change. If you want a pidfile, specify an option like so:
server pidfile = /var/run/perlbal.pid
| |
| dormando 2007-09-17, 7:11 am |
| Brett G. Durrett wrote:
>
> Attached is a patch for 1.59 that will allow you to specify a pidfile in
> the configuration... it has been lightly tested with both console and
> daemon mode and, well, the pid seems to match the running process in
> each case.
>
> If no 'pidfile' option is provided perlbal functionality does not
> change. If you want a pidfile, specify an option like so:
>
> server pidfile = /var/run/perlbal.pid
>
Fixed a bug ('remove_pidfile()' call on error and added some comments.
Committed in r698.
-Dormando
|
|
|
|
|