Koozali.org: home of the SME Server

starting Zope on reboot

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
starting Zope on reboot
« 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
Rien
(The Netherlands)......

tape

starting Zope on reboot
« Reply #1 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

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
starting Zope on reboot
« Reply #2 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)
Rien
(The Netherlands)......

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
starting Zope on reboot
« Reply #3 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.
Des Dougan