Changed files:
Zope-mkzeoinstance -> 1.1
Zope-mkzopeinstance -> 1.1
Zope-runzope -> 1.1
Zope-zopectl -> 1.1
--- /dev/null
+#!/usr/bin/python
+
+import sys
+sys.path.insert(0,"/usr/lib/zope")
+from ZEO.mkzeoinst import ZEOInstanceBuilder
+ZEOInstanceBuilder().run()
--- /dev/null
+#!/bin/sh
+
+if [ -z "$1" ] ; then
+ echo "Usage:"
+ echo " $0 name [name:password]"
+ exit 1
+fi
+
+name="$1"
+destdir="/var/lib/zope/$name"
+
+if [ -n "$2" ] ; then
+ namepass="-u $2"
+else
+ namepass=""
+fi
+
+umask 002
+python /usr/lib/zope/mkzopeinstance.py \
+ -s /etc/zope/skel \
+ -d "$destdir" \
+ $namepass || exit $?
+
+mv "${destdir}"/etc/* "/etc/zope/$name"
+
+chown root.zope ${destdir}
+chmod 770 ${destdir}
+chown -R zope.zope ${destdir}/*
+chmod a+X ${destdir}/*
--- /dev/null
+#!/bin/sh
+
+if [ -n "$1" ] ; then
+ instance="$1"
+ shift
+else
+ instance="main"
+fi
+
+PYTHONPATH="/usr/lib/zope"; export PYTHONPATH
+exec /usr/bin/python "/usr/lib/zope/Zope/Startup/run.py" \
+ -C "/etc/zope/$instance/zope.conf" "$@"
--- /dev/null
+#!/bin/sh
+
+if [ -n "$1" ] ; then
+ instance="$1"
+else
+ instance="main"
+fi
+
+PYTHONPATH="/usr/lib/zope"; export PYTHONPATH
+exec /usr/bin/python "/usr/lib/zope/Zope/Startup/zopectl.py" \
+ -C "/etc/zope/$instance/zope.conf" "$@"