Commit 718900f2 authored by Tatuya Kamada's avatar Tatuya Kamada

erp5: Fix disabling repozo backup when backup-periodiciy='never'.

parent a9e6e1c0
...@@ -301,7 +301,7 @@ md5sum = ff8ecdc258e2529b3979fd6596a27b95 ...@@ -301,7 +301,7 @@ md5sum = ff8ecdc258e2529b3979fd6596a27b95
[template-zeo] [template-zeo]
< = download-base < = download-base
filename = instance-zeo.cfg.in filename = instance-zeo.cfg.in
md5sum = 9670cf63099e2c520017a23defff51a4 md5sum = d1cf938074b4b2f407122a40991bfef2
[template-zope] [template-zope]
< = download-base < = download-base
......
...@@ -119,6 +119,7 @@ tidstorage-ip = ...@@ -119,6 +119,7 @@ tidstorage-ip =
tidstorage-port = tidstorage-port =
{% endif -%} {% endif -%}
{% if len(known_tid_storage_identifier_dict) > 1 -%}
# Used for ERP5 resiliency or (more probably) # Used for ERP5 resiliency or (more probably)
# webrunner resiliency with erp5 inside. # webrunner resiliency with erp5 inside.
[{{ section("resiliency-exclude-file") }}] [{{ section("resiliency-exclude-file") }}]
...@@ -170,6 +171,7 @@ input = inline: #!/bin/sh ...@@ -170,6 +171,7 @@ input = inline: #!/bin/sh
exit $EXIT_CODE exit $EXIT_CODE
output = ${directory:srv}/runner-import-restore output = ${directory:srv}/runner-import-restore
mode = 755 mode = 755
{% endif -%}
[directory] [directory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
......
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