[Zope] how to start zope server in boot up
Andy Gimblett
andy.gimblett@ftech.net
Wed, 21 Mar 2001 11:09:53 -0000
> hi,
> I am using Linux RedHat 6.2.
> I want zope server to be run while boot up.
Quick answer:
Add a line similar to the following to the end of /etc/rc.d/rc.local:
/usr/local/zope/start &
This will take care of starting it up automatically.
Longer answer:
If you want to do it "properly", with init.d scipts, etc. (so it also
shuts down automatically on system shutdown, for instance), this howto:
http://www.zope.org/Members/jec/startstop_howto_html
is very useful in this respect. It describes a scheme to allow you to
start and stop multiple instances of Zope. Part of this scheme
is a good, working, set of scripts to manage startup & shutdown.
If you want to have just one instance, just make sure the
"instances" file (described in the howto) has a single entry,
and that the "instance_name" for that entry is just "." (ie a
single dot). This is what I've done, and it seems to work fine.
Good luck!
-Andy
--
Andy Gimblett <andy.gimblett@ftech.net> Programmer
Frontier Internet Services Limited <www.frontier-internet.ltd.uk>
Tel: 029 20 820 044 Fax: 029 20 820 035
Statements made are at all times subject to Frontier's Terms and
Conditions of Business, which are available upon request.