Skip to content. Skip to navigation

Myriadicity Dot

Views

#!/bin/sh
#
# ZEO cluster startup script
#

clusterpath=${0%/*}/..

if [ -z "$1" ]; then
  command=start
else
  command=restart
fi

echo 'Starting ZEO server...'
${clusterpath}/bin/zeo ${command}

sleep 1

echo "${command}ing ZEO client1..."
${clusterpath}/bin/client1 ${command}

echo "NOT ${command}ing ZEO client2 - use"
echo "'clientXctl client2' to control it separately."




subject:
  ( 9 subscribers )


Sections
Personal tools
Powered by Plone, the Open Source Content Management System