-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.cfg
41 lines (36 loc) · 1.01 KB
/
deployment.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[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/
[instance1]
root-url = https://ged.pfwb.be
mailinglogger =
<mailing-logger>
level error
flood-level 10
# smtp-server localhost:9025
from zope@localhost
to zope@localhost
subject [Error on PFWB] [%(hostname)s] %(line)s
</mailing-logger>