Forum OpenACS Q&A: Re: Keepalive problem

Collapse
5: Re: Keepalive problem (response to 3)
Posted by Jade Rubick on
Malte, a keepalive script is already uploaded. It's under etc/keepalive. So if you could put it there, that would be great. Documentation especially!
Collapse
6: Re: Keepalive problem (response to 5)
Posted by Malte Sussdorff on
I changed the keepalive scripts so they can be run from a cron job as well.

Quick documentation:

  1. Edit /etc/keepalive/keepalive-config.tcl to reflect your setup:

    set servers_to_monitor {http://www.yourserver.com "svc -du /service/service0"}

  2. Edit your root crontab file:

    export EDITOR=emacs;crontab -e

    Add a line like this:

    -*/2 * * * * /web/service0/etc/keepalive/keepalive-cron.sh