[Zope] Odp: [Zope] strategies for starting zope on redhat
Bill Anderson
bill@libc.org
Sun, 14 May 2000 20:11:51 -0600
Adam Karpierz wrote:
>
> >Hello
> >
> >A friend reports he cannot start zope automatically at boot on his new
> Linux
> >RedHat installation, but that it works fine when he does it manually from
> >shell prompt.
I have a sneaky suspicion he is tryign to call start form outside of
the ZopeHome directory, and the start file is using relative paths.
Answer: have the script first cd to the ZopeHome dir, or change the
relativ epaths to absolutes.
> >
> >Q1. Does anyone have any similar experience or advice about self-starting
> >zope?
> >
> >Q2. Does anyone have a nice approach to make sure Zope re-starts if it
> >shutdown remotely for whatever reason?
Consult the script
In your start file, add '-Z var/zserver.pid' to the startup options,