Index: openacs-4/etc/install/config.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/install/Attic/config.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/etc/install/config.tcl 5 Sep 2003 07:40:05 -0000 1.3 +++ openacs-4/etc/install/config.tcl 5 Sep 2003 08:28:17 -0000 1.4 @@ -22,12 +22,22 @@ # AOLServer configuration set serverroot "/var/lib/aolserver/${server}" -set svscanroot "/var/lib/svscan/${server}" set server_url "http://localhost:8000" set error_log_file "${serverroot}/log/error.log" -set start_server_command "rm ${svscanroot}/down; svc -u ${svscanroot}" + +# the default server control parameters use daemontools +set use_daemontools "true" +set svscanroot "/var/lib/svscan/${server}" +set start_server_command "svc -u ${svscanroot}" set stop_server_command "svc -d ${svscanroot}" -set restart_server_command "svc -t ${svscanroot}/$server" +set restart_server_command "svc -t ${svscanroot}" + +# alternate server startup commands +# enable these commands to run without daemontools +# set start_server_command "exec /usr/local/aolserver/bin/nsd-postgres -it /web/service0/etc/config.tcl -u service0 -g web" +# set stop_server_command "killall nsd" +# set restart_server_command "${stop_server_command}; ${start_server_command}" + # Time from invocation of startup command until the server is actually up set startup_seconds 20 # Time from invocation of shutdown command until the server is actually down