#! /bin/sh
PYTHON="@l_prefix@/bin/python"
INSTANCE_HOME="@l_prefix@/var/zope"
CONFIG_FILE="@l_prefix@/etc/zope/zope.conf"
SOFTWARE_HOME="@l_prefix@/lib/zope"
PYTHONPATH="$SOFTWARE_HOME/lib/python"
export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME
ZOPE_RUN="$PYTHONPATH/Zope2/Startup/run.py"
exec "$PYTHON" "$ZOPE_RUN" -C "$CONFIG_FILE" "$@"
