[Zope] [Q] start with root versus start rc.d/init.d
marc lindahl
marc@bowery.com
Wed, 26 Sep 2001 11:47:20 -0400
First, I can't speak highly enough about Webmin, for taming the linux beast.
Here's the init.d script it created when I created a new startup action
running the zope start script (you can see the param's and output
redirection I added, etc.):
#!/bin/sh
# description: start Zserver
# chkconfig: 2345 99 00
case "$1" in
'start')
echo "starting Zope... "
/usr/local/zope/Zope-2.3.3/start -u zope -p - -W 8081 \
-a 127.0.0.1 -t 20 \
&> /usr/local/zope/Zope-2.3.3/var/log/startup.log &
touch /var/lock/subsys/zope
;;
'stop')
echo "Stopping Zope..."
/usr/local/zope/Zope-2.3.3/stop
rm -f /var/lock/subsys/zope
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
> From: Carl David <david@uconnvm.uconn.edu>
> Date: Wed, 26 Sep 2001 11:00:30 -0400
> To: zope@zope.org
> Subject: [Zope] [Q] start with root versus start rc.d/init.d
>
> I'm still unable to get Zope to start by itself using RedHat 7.1 and
> scripts in /etc/rc.d/init.d. When one executes a script from the
> command line, it works, but when one lets the system execute the same
> script during boot, it fails. Can someone help me? I'm at a loss.
> Thanks
> Carl David
> david@uconnvm.uconn.edu
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )