[Zope-DB] I also think...

Bo M. Maryniuck b.maryniuk@forbis.lt
Thu, 8 May 2003 16:57:33 +0200

On Thursday 08 May 2003 03:28, Anton Hughes wrote:
> The problem doesn't happen when I use /home/zope/start at the command line.


> /etc/init.d/zope:
> =================


>         /home/zope/start

Also I just think -- probably you want first "cd" to the /home/zope/start 
since your /home/zope/start script has stuff like 

cwd=`cd $reldir; pwd`

...which does not the same if you call it from elsewere, e.g.:

bo@oberon:(~) cat foo
bo@oberon:(~) ./foo
bo@oberon:(~) cd /var/lib
bo@oberon:(/var/lib) /home/bo/foo

Other question WHY you do strange things like running Zope from */home*? 
Install it normally somewhere, e.g. /opt/zope/ or /usr/local/zope under 
predefined "zope" user then run it in /etc/init.d/zope script like:

su - zope -c ". $ENV_FILE;/opt/zope/start"

HTH, Bogdan

main(k){float i,j,r,x,y=-16;while(puts(""),y++<15)for(x
=0;x++<84;putchar(" .:-;!/>)|&IH%*#"[k&15]))for(i=k=r=0;
/* Mandelbrot in ASCII. */