On Apr 1, 9:59 pm, kc <[EMAIL PROTECTED]> wrote: > When power is cut off to the server, the 'mongrel.xxxport.pid' files > remain in the respective log directories and prevent the mongrel servers > from starting up. I have to manually delete them and restart the > mongrels. Is there any way I can avoid manual intervention? (I could > write a script to delete the pids and put it in run level 3 but that is > pretty ugly.)
I've been running mongrel_cluster on Debian, and putting my .pid files in /tmp. Debian empties out /tmp on reboot, so this has worked fine. I should look in to what kind of housecleaning goes on with properly putting .pid files in /var/run, but I haven't. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---