[Zope] Start Script
Loomis, Todd, CTR, DMSO
Todd.Loomis.CTR at dmso.mil
Tue May 18 11:37:29 EDT 2004
All:
I've got a service start script that I'm getting the following error
when I try to start it:
/sbin/service: /etc/init.d/zope: bad interpreter: No such file or
directory
It use to work but I just reinstalled Zope under a new directory and
change it in the script to point it; here's the script:
#!/bin/sh:q!
#
# zope Start/Stop the Zope web-application server.
#
# chkconfig: 2345 72 72
# description: zope is a web server specifically for handling \
# HTTP requests to the Zope web-application service.
# probe: true
# Source function library.
#!/bin/sh:q!
#
# zope Start/Stop the Zope web-application server.
#
# chkconfig: 2345 72 72
# description: zope is a web server specifically for handling \
# HTTP requests to the Zope web-application service.
# probe: true
# Source function library.
. /etc/init.d/functions
RETVAL=0
start() {
echo -n $"Starting up Zope: "
/var/www/zopee/start >> /var/log/zope/messages 2>&1 &
RETVAL=$?
echo
}
stop() {
echo -n $"Shutting down Zope: "
/var/www/zopee/stop
RETVAL=$?
echo
}
restart() {
stop
start
RETVAL=$?
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo "Usage: zope {start|stop|restart|reload}"
exit 1
esac
exit $RETVAL
Any help would be greatful!
________________________________
Todd Loomis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040518/68f11bab/attachment.html
More information about the Zope
mailing list