restartcluster.sh
by
Ken Manheimer
—
last modified
Aug 05, 2011 01:44 PM
my own variant of the cluster restart script, circa 2009. the main differences from the standard scripts is that these custom versions didn't have their locations hard coded, and they called each other, reducing code duplication and drift.
#!/bin/sh
#
# ZEO cluster restart script
#
echo 'Restarting ZEO cluster...'
${0%/*}/startcluster.sh restart