Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Rien on July 29, 2004, 09:51:56 PM

Title: starting Zope on reboot
Post by: Rien on July 29, 2004, 09:51:56 PM
Hi all,

I installed Zope/plone. When I reboot the server (6.0.1-1) I have to manually start Zope.

Can anyone tell me how to automatically start "path_to_zopeinstance"/bin/runzope after reboot of the server?

Thanks,

Rien
Title: starting Zope on reboot
Post by: tape on July 31, 2004, 01:13:50 AM
put the startfile into your /etc/init.d/ directory. Do a "chkconfig" for a list of possible commands for this tool.
---
chkconfig version 1.3.5 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage:   chkconfig --list [name]
         chkconfig --add <name>
         chkconfig --del <name>
         chkconfig [--level <levels>] <name> <on|off|reset>)
---

so it should be a
chkconfig --level 345 [NameOfYourService] on

hth
Anton
Title: starting Zope on reboot
Post by: Rien on July 31, 2004, 11:09:34 PM
Thanks Anton,

I'll give it a try.
I expected something with templates in templates-custom.

Rien
(Netherlands)
Title: starting Zope on reboot
Post by: ddougan on August 22, 2004, 07:15:54 AM
If you use the Plone RPMs posted here, the installation includes a "plone2" startup file which is placed in /etc/init.d.