summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-www/zope/files/zope4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-www/zope/files/zope b/net-www/zope/files/zope
index 38807fcbac55..6f5d0a254544 100644
--- a/net-www/zope/files/zope
+++ b/net-www/zope/files/zope
@@ -16,7 +16,7 @@ opts="start stop restart status"
export INSTANCE_HOME=/var/lib/zope
export INSTANCE_NAME=`basename ${INSTANCE_HOME}`
export ZOPE_HOME=/usr/share/zope
-export ZOPE_PORT=8080
+export ZOPE_PORT=80
export ZOPE_LOG="/var/log/zope"
export ZEO_SERVER_PORT=5800
export ZEO_SERVER_NAME="localhost"
@@ -52,7 +52,9 @@ start_zope() {
&
else
if [ $USEZEO ]; then
+ export PYTHONPATH=/usr/lib/python2.1/:/usr/lib/python2.1/lib-dynload/
/usr/bin/env python zctl.py start_zeo
+ unset PYTHONPATH
/usr/bin/env python z2.py \
-u nobody \
-z $ZOPE_HOME \