Index: installers/debian/dotlrn/TODO =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/Attic/TODO,v diff -u -N -r1.4 -r1.5 --- installers/debian/dotlrn/TODO 26 Mar 2008 11:40:13 -0000 1.4 +++ installers/debian/dotlrn/TODO 26 Mar 2008 12:37:03 -0000 1.5 @@ -7,5 +7,6 @@ [ ] Lintian errors and warnings. [ ] Fix control file adding tdom (when there is a tdom debian package) [ ] Fix control file adding postgresql-contrib as a dependance (for tsearch), and setting all the package in contrib. +[ ] Add some docs. -- Héctor Romojaro Index: installers/debian/dotlrn/dotlrn.init =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/dotlrn.init,v diff -u -N -r1.1 -r1.2 --- installers/debian/dotlrn/dotlrn.init 12 Mar 2008 12:29:42 -0000 1.1 +++ installers/debian/dotlrn/dotlrn.init 26 Mar 2008 12:37:03 -0000 1.2 @@ -6,12 +6,12 @@ NAME=dotlrn USER=www-data GROUP=www-data -ADDRESS=127.0.0.1 -PORT=8000 +CONF=/etc/dotlrn/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]*//') +PIDFILE=$(grep "^set pidfile" $CONF | sed 's/pidfile//;s/pidfile//;s/^[ \t]*//') PATH=/bin:/usr/bin:/sbin:/usr/sbin DAEMON=/usr/sbin/aolserver4-nsd -PIDFILE=/var/run/aolserver4/$NAME.pid -CONF=/etc/dotlrn/config.tcl trap "" 1