Koozali.org: home of the SME Server

Starting Zope/Plone on reboot

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Starting Zope/Plone on reboot
« on: April 02, 2005, 08:34:45 PM »
Hi all,

I have Zope/Plone running on my SME 6.0.1-01 server and installed it from source. To start the Zope application server I have to run:

Code: [Select]
# /home/e-smith/files/ibays/zopeinstance/files/bin/zopectl start

How can I use the template-system to make the Zope application server automatically start at reboot?

I have checked the HowTo's but I can't find anything usefull.
Rien
(The Netherlands)......

Offline jackl

  • ****
  • 136
  • +0/-0
Starting Zope/Plone on reboot
« Reply #1 on: April 02, 2005, 09:34:59 PM »
Rien,
 The simplest way to do this is to enter the start command
Quote
/home/e-smith/files/ibays/zopeinstance/files/bin/zopectl start

to the file /etc/rc.d/rc.local
May not be the proper way but is the easiest, should be no need for templates as SME default does not touch this file.

Regards
Jack
......

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Starting Zope/Plone on reboot
« Reply #2 on: April 03, 2005, 12:16:05 AM »
Hi Jackl,

Thanks for your reply. I will follow your advise.
Is there any documentation about this stuff?

Thanks,
Rien
(The Netherlands)......

Offline jackl

  • ****
  • 136
  • +0/-0
Starting Zope/Plone on reboot
« Reply #3 on: April 03, 2005, 02:34:56 AM »
Rien,

The way to know if you need to create a template is to view the file if it warns that this file is automatically updated by the SME software then you need to create a template or use of the server-manager will overwrite your changes. Also if you upgrade you might have to modify the file again where if you create a custom template the changes are maintained after an upgrade
All of this information is available in the Documentation section on the left.

Regards
Jack
......