This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2012-12-11 18:09:50 +01:00
|
|
|
[buildout]
|
|
|
|
extends-cache = extends-cache
|
|
|
|
extends = staging.cfg
|
|
|
|
parts +=
|
|
|
|
backup-template
|
|
|
|
backup-schedule
|
|
|
|
zeopack-schedule
|
|
|
|
|
|
|
|
[backup-template]
|
|
|
|
recipe = collective.recipe.template
|
|
|
|
inline =
|
|
|
|
#!/bin/bash
|
|
|
|
${buildout:bin-directory}/backup -q
|
|
|
|
rsync -a --delete ${backup:location}/ sav@host:/home/sav/projectx/backups/
|
|
|
|
rsync -aH --delete ${backup:blobbackuplocation}/ sav@host:/home/sav/projextx/blobstoragebackups/
|
|
|
|
output = ${buildout:bin-directory}/backup.sh
|
|
|
|
mode = 755
|
|
|
|
|
|
|
|
[backup-schedule]
|
|
|
|
recipe = z3c.recipe.usercrontab
|
|
|
|
times = 0 4 * * *
|
|
|
|
command = ${backup-template:output}
|
|
|
|
|
|
|
|
# every sunday
|
|
|
|
[zeopack-schedule]
|
|
|
|
recipe = z3c.recipe.usercrontab
|
|
|
|
times = 0 1 * * 0
|
|
|
|
command = ${buildout:bin-directory}/zeopack -B ${buildout:directory}/var/blobstorage/
|
2013-01-07 14:17:42 +01:00
|
|
|
|
|
|
|
[instance1]
|
2020-01-08 13:56:57 +01:00
|
|
|
root-url = https://ged.pfwb.be
|
|
|
|
|
2013-01-07 14:17:42 +01:00
|
|
|
mailinglogger =
|
|
|
|
<mailing-logger>
|
|
|
|
level error
|
|
|
|
flood-level 10
|
|
|
|
# smtp-server localhost:9025
|
2014-01-03 11:23:49 +01:00
|
|
|
from zope@localhost
|
|
|
|
to zope@localhost
|
2013-01-07 14:17:42 +01:00
|
|
|
subject [Error on PFWB] [%(hostname)s] %(line)s
|
|
|
|
</mailing-logger>
|