[PATCH] Perlbal writes pid to file

dormando dormando at rydia.net
Mon Sep 17 10:09:48 UTC 2007


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


More information about the perlbal mailing list