[Zope] start script...

Steve Spicklemire steve@spvi.com
Fri, 17 Aug 2001 06:31:02 -0500


Hi Shaun,

	Here's what I have in /usr/local/etc/rc.d/zope.sh:

-----------------------------
#!/bin/sh
#

case "$1" in

start)

         echo -n ' zope'

         cd /usr/local/etc/Zope2a

         su zope -c './start'

         cd /usr/local/etc/Zope2b

         su zope -c './start'

         cd /usr/local/etc/Zope2c

         su zope -c './start'

         ;;

stop)

         cd /usr/local/etc/Zope2a

         su zope -c './stop'

         cd /usr/local/etc/Zope2b

         su zope -c './stop'

         cd /usr/local/etc/Zope2c

         su zope -c './stop'

         ;;

*)
         echo "usage: $0 {start|stop}" 1>&2
         exit 64
         ;;

esac
-----------------------------

The zope servers run as the user 'zope'. I have the source-installs at=20=

/usr/local/etc/Zope2[abc].

Is that what you want?

-steve


On Thursday, August 16, 2001, at 11:50 PM, zope wrote:

> can anyone out there help me get a start script together for zope2.3.3=20=

> on freebsd4.2?=A0 i tried editing Markoer's redhat script, and all i =
get=20
> is "case: Too many agruements"...=A0 please help.
> =A0
> thanks,
> shaun