[Zope] Automatic Zope startup
Gilles Lenfant
gilles@objectis.net
Fri, 5 Jul 2002 18:59:25 +0200
This works for me.
=3D=3D=3D /etc/rc.d/init.d/zope =3D=3D
#!/bin/sh
#
ZOPEDIR=3D/usr/local/zope25
case $1 in
start)
${ZOPEDIR}/start
;;
stop)
${ZOPEDIR}/stop
;;
restart)
${ZOPEDIR}/stop
${ZOPEDIR}/start
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Depending on your system, you may create symlinks to this file in =
/etc/rc*.d/SXXzope and /etc/rc*.d/KXXzope.
Generally putting symlinks in the default run level start directory is =
enough (see /etc/inittab for this)
HTH
--Gilles
----- Original Message -----=20
From: "alienoid" <alienoid@is.lg.ua>
To: <zope@zope.org>
Sent: Wednesday, July 03, 2002 1:43 PM
Subject: [Zope] Automatic Zope startup
> Hello zope users,
>=20
> What I have to do to start Zope automatically from /etc/rc.d/init.d?
> Thanks in advance
>=20
> --=20
> Best regards,
> alienoid mailto:alienoid@is.lg.ua
>=20
>=20
>=20
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -=20
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>=20