[Zope] Starting Zope automatically on bootup (QUEST)

Oscar Picasso picasso@videotron.ca
Mon, 06 Mar 2000 14:54:18 -0500


Hi,

I'm running Zope 2.1.14 on Redhat Linux 6.1. I would like it to start 
automatically when the computer boots. I'm looking for a workable rc script for
this configuration.

I tried the script found on the How-to: Installing and Upgrading Zope 2.X.
On start up the computer displays the messages "Sarting Zope2 service: ".
However it doesn't go further and I have to reboot my computer. Thanks in
advance.

Here is the script I used. Thanks in advance.

###################################################
#! /bin/sh
#
# processname: zope2

# Source function library.
.. /etc/rc.d/init.d/functions

# Get config.
.. /etc/sysconfig/network

# Check that networking is up.
if [ ${NETWORKING} = "no" ]
then
	exit 0
fi

# See how we were called. 
case "$1" in
	start)
		echo -n "Starting Zope2 service: "
		daemon /usr/local/zope/zope214/start
		;;
	stop)
		  echo -n "Stopping Zope2 service: "
		  /usr/local/zope/zope214/stop
		  ;;
	 restart|reload)
		  $0 stop
		  $0 start
		  ;;
	 *)
		  echo "Usage: zope {start|stop|restart}"
		  exit 1
esac

exit
##############################