Index: openacs-4/etc/keepalive/keepalive-config.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/keepalive/keepalive-config.tcl,v diff -u -r1.1 -r1.1.2.1 --- openacs-4/etc/keepalive/keepalive-config.tcl 12 Feb 2004 12:28:55 -0000 1.1 +++ openacs-4/etc/keepalive/keepalive-config.tcl 21 Jun 2004 13:18:15 -0000 1.1.2.1 @@ -3,7 +3,10 @@ # @author Peter Marklund # The servers_to_monitor variable should be a flat list with URLs to monitor -# on even indices and the commands to execute if the servers don't respond +# on even indices and the commands to execute if the server doesn't respond # on odd indices, like this: # {server_url1 restart_command1 server_url2 restart_command2 ...} set servers_to_monitor {} + +# How long the keepalive script waits until it attempts another restart +set seconds_between_restarts [expr 10*60] Index: openacs-4/etc/keepalive/keepalive.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/keepalive/keepalive.sh,v diff -u -r1.1 -r1.1.2.1 --- openacs-4/etc/keepalive/keepalive.sh 12 Feb 2004 12:28:55 -0000 1.1 +++ openacs-4/etc/keepalive/keepalive.sh 21 Jun 2004 13:18:15 -0000 1.1.2.1 @@ -24,7 +24,7 @@ file delete -force $wget_file } - catch {exec wget --tries=5 ${server_url}/SYSTEM/dbtest} + catch {exec /usr/bin/wget -O $wget_file --tries=5 ${server_url}/SYSTEM/dbtest} if { [file exists $wget_file] } { set wget_file_id [open $wget_file r]