Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [buildout]
- extends = base.cfg
- parts +=
- zeo
- backup
- backup-daily
- backup-weekly
- logrotate
- logrotate-daily
- supervisor
- supervisor-reboot
- [zeo]
- recipe = plone.recipe.zope2zeoserver
- zope2-location = ${zope2:location}
- zeo-address = 127.0.0.1:8100
- [backup]
- recipe = collective.recipe.backup
- [backup-daily]
- recipe = z3c.recipe.usercrontab
- times = 0 3 * * 0-6
- command = ${buildout:directory}/bin/backup
- [backup-weekly]
- recipe = z3c.recipe.usercrontab
- times = 0 3 * * 7
- command = ${buildout:directory}/bin/zeopack -p 8000 -d 1 && ${buildout:directory}/bin/backup
- [instance1]
- zeo-client = True
- zeo-address = ${zeo:zeo-address}
- zserver-threads = 2
- zodb-cache-size = 250000
- [logrotate]
- recipe = collective.recipe.template
- input = etc/logrotate.conf.tmpl
- output = etc/logrotate.conf
- [logrotate-daily]
- recipe = z3c.recipe.usercrontab
- times = 0 6 * * *
- command = /usr/sbin/logrotate --state ${buildout:directory}/var/logrotate.status ${buildout:directory}/${logrotate:output}
- [supervisor]
- recipe = zc.recipe.egg
- eggs = supervisor
- [supervisor-reboot]
- recipe = z3c.recipe.usercrontab
- times = @reboot
- command = ${buildout:directory}/bin/supervisord -c ${buildout:directory}/etc/supervisord.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement