Commit 34c6a7fd authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: make public folder resilient

parent 066a340c
...@@ -23,7 +23,7 @@ md5sum = 605d7821234ded60e4651fbe25a41a5a ...@@ -23,7 +23,7 @@ md5sum = 605d7821234ded60e4651fbe25a41a5a
[template-runner-import-script] [template-runner-import-script]
filename = template/runner-import.sh.jinja2 filename = template/runner-import.sh.jinja2
md5sum = 40e839e76d03fabefb1859ea72383529 md5sum = 3be3ff484a5aaa202f2ea72489a73285
[instance-runner-import] [instance-runner-import]
filename = instance-runner-import.cfg.in filename = instance-runner-import.cfg.in
...@@ -31,7 +31,7 @@ md5sum = 44c029ac2e30930d3017fb9503a77e36 ...@@ -31,7 +31,7 @@ md5sum = 44c029ac2e30930d3017fb9503a77e36
[template-runner-export-script] [template-runner-export-script]
filename = template/runner-export.sh.jinja2 filename = template/runner-export.sh.jinja2
md5sum = 02023f89b622c49aee42130f839846a7 md5sum = ef87691a9675beb646ae1c99ef69e551
[instance-runner-export] [instance-runner-export]
filename = instance-runner-export.cfg.in filename = instance-runner-export.cfg.in
......
...@@ -77,6 +77,7 @@ EOF ...@@ -77,6 +77,7 @@ EOF
fi fi
test -d project && rsync project "$backup_path" test -d project && rsync project "$backup_path"
test -d public && rsync public "$backup_path"
test -f proxy.db && rsync proxy.db "$backup_path" test -f proxy.db && rsync proxy.db "$backup_path"
) )
# We sync .* appart # We sync .* appart
......
...@@ -95,6 +95,7 @@ EOF ...@@ -95,6 +95,7 @@ EOF
fi fi
test -d project && rsync project "$path" test -d project && rsync project "$path"
test -d public && rsync public "$path"
test -f proxy.db && rsync proxy.db "$path" test -f proxy.db && rsync proxy.db "$path"
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment