Index: installers/debian/openacs/patches/config.dpatch =================================================================== RCS file: /usr/local/cvsroot/installers/debian/openacs/patches/config.dpatch,v diff -u -r1.5 -r1.6 --- installers/debian/openacs/patches/config.dpatch 18 Sep 2008 17:42:25 -0000 1.5 +++ installers/debian/openacs/patches/config.dpatch 22 Oct 2008 12:04:22 -0000 1.6 @@ -6,8 +6,8 @@ @DPATCH@ diff -urNad openacs-5.4.2~/etc/config.tcl openacs-5.4.2/etc/config.tcl ---- openacs-5.4.2~/etc/config.tcl 2008-08-07 09:39:40.000000000 +0200 -+++ openacs-5.4.2/etc/config.tcl 2008-09-04 14:39:07.000000000 +0200 +--- openacs-5.4.2~/etc/config.tcl 2008-09-23 15:47:33.000000000 +0200 ++++ openacs-5.4.2/etc/config.tcl 2008-10-22 12:50:01.000000000 +0200 @@ -24,10 +24,11 @@ # started by root, and, in AOLserver 4, the run script have a # '-b address' flag which matches the address according to settings (above) @@ -99,14 +99,21 @@ \ No newline at end of file +} diff -urNad openacs-5.4.2~/etc/daemontools/run openacs-5.4.2/etc/daemontools/run ---- openacs-5.4.2~/etc/daemontools/run 2008-08-07 09:39:40.000000000 +0200 -+++ openacs-5.4.2/etc/daemontools/run 2008-09-04 14:37:35.000000000 +0200 -@@ -9,7 +9,7 @@ +--- openacs-5.4.2~/etc/daemontools/run 2008-09-23 15:47:33.000000000 +0200 ++++ openacs-5.4.2/etc/daemontools/run 2008-10-22 12:51:54.000000000 +0200 +@@ -9,7 +9,14 @@ # see http://openacs.org/forums/message-view?message_id=176100 sleep 4 -exec /usr/lib/aolserver4/bin/nsd -it /var/www/service0/etc/config.tcl -u service0 -g web -+exec /usr/lib/aolserver4/bin/nsd -it /etc/openacs/config.tcl -u www-data -g www-data ++DAEMON="/usr/lib/aolserver4/bin/nsd" ++USER="www-data" ++GROUP="www-data" ++CONF="/etc/openacs/config.tcl" ++ADDRESS=$(grep "^set address" $CONF | sed 's/set//;s/address//;s/^[ \t]*//') ++PORT=$(grep "^set httpport" $CONF | sed 's/set//;s/httpport//;s/^[ \t]*//') ++ ++exec $DAEMON -it $CONF -u $USER -g $GROUP -b $ADDRESS:$PORT # For AOLserver 4 using privileged ports (usually < 1024), add the flag # -b youraddress:yourport to the nsd command