[Repoze-checkins] r761 - in buildouts/repoze.plone/trunk: . etc

Chris McDonough chrism at agendaless.com
Sun Mar 2 10:14:56 UTC 2008


Author: Chris McDonough <chrism at agendaless.com>
Date: Sun Mar  2 05:14:56 2008
New Revision: 761

Log:
Use supervisor.


Added:
   buildouts/repoze.plone/trunk/etc/
   buildouts/repoze.plone/trunk/etc/supervisord.conf
Modified:
   buildouts/repoze.plone/trunk/buildout.cfg

Modified: buildouts/repoze.plone/trunk/buildout.cfg
==============================================================================
--- buildouts/repoze.plone/trunk/buildout.cfg	(original)
+++ buildouts/repoze.plone/trunk/buildout.cfg	Sun Mar  2 05:14:56 2008
@@ -1,7 +1,19 @@
 [buildout]
-parts = plone
-index = http://dist.repoze.org/simple_test
+parts =
+    plone
+    instance
+index = http://dist.repoze.org/simple
 
 [plone]
 recipe = repoze.recipe.egg
 eggs = repoze.plone
+       supervisor
+
+
+[instance]
+recipe = iw.recipe.cmd
+on_install = true
+cmds = 
+   bin/mkzope2instance --use-zeo --zeo-port=8881 --zope-port=8880
+   echo "Please run bin/addzope2user <username> <password>"
+   

Added: buildouts/repoze.plone/trunk/etc/supervisord.conf
==============================================================================
--- (empty file)
+++ buildouts/repoze.plone/trunk/etc/supervisord.conf	Sun Mar  2 05:14:56 2008
@@ -0,0 +1,26 @@
+; repoze.plone supervisord.conf file (using ZEO)
+
+[inet_http_server]
+port=127.0.0.1:9030
+
+[supervisord]
+logfile=%(here)s/../log/supervisord.log
+logfile_maxbytes=50MB
+logfile_backups=10 
+loglevel=info
+pidfile=%(here)s/../var/supervisord.pid
+nodaemon=false
+
+[rpcinterface:supervisor]
+supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
+
+[supervisorctl]
+serverurl=http://127.0.0.1:9030
+
+[program:zope]
+command = %(here)s/../bin/paster serve %(here)s/../etc/zope2.ini
+redirect_stderr = true
+
+[program:zeo]
+command = %(here)s/../bin/runzeo -C %(here)s/../etc/zeo.conf
+redirect_stderr = true


More information about the Repoze-checkins mailing list