[PATCH] Perlbal writes pid to file
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Perlbal > [PATCH] Perlbal writes pid to file




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [PATCH] Perlbal writes pid to file  
Brett G. Durrett


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-13-07 12:11 AM


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













[ Post a follow-up to this message ]



    Re: [PATCH] Perlbal writes pid to file  
dormando


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-17-07 12:11 PM

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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:03 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register