Commit e2d73ad2 authored by Boxiang Sun's avatar Boxiang Sun

peertube: test fixup

parent 737db4d9
...@@ -18,7 +18,7 @@ md5sum = 35690065ba18dc49d0108fc1f0a07b9e ...@@ -18,7 +18,7 @@ md5sum = 35690065ba18dc49d0108fc1f0a07b9e
[instance-peertube] [instance-peertube]
_update_hash_filename_ = instance-peertube.cfg.in _update_hash_filename_ = instance-peertube.cfg.in
md5sum = adb282d1ea7d94e7af0b13049dccf66d md5sum = dedf43efb45743e6401cebec57fc2e8e
[template-nginx-service] [template-nginx-service]
filename = template-nginx-service.sh.in filename = template-nginx-service.sh.in
...@@ -42,7 +42,7 @@ md5sum = 851262d7174da868805cb7c8e1ced7c0 ...@@ -42,7 +42,7 @@ md5sum = 851262d7174da868805cb7c8e1ced7c0
[template-crontab-line] [template-crontab-line]
filename = template-crontab-line.in filename = template-crontab-line.in
md5sum = 5cbd64f04da0601ba4286516a6161f5e md5sum = bab861f1d057e837697d78e74e47b0bb
[template-crontab] [template-crontab]
filename = template-crontab.in filename = template-crontab.in
......
...@@ -203,13 +203,14 @@ recipe = slapos.recipe.template ...@@ -203,13 +203,14 @@ recipe = slapos.recipe.template
url = {{ template_crontab_line }} url = {{ template_crontab_line }}
output = ${directory:bin}/${:_buildout_section_name_} output = ${directory:bin}/${:_buildout_section_name_}
script = ${peertube-backup-script:output} script = ${peertube-backup-script:output}
name = ${:_buildout_section_name_}
frequency = {{ slapparameter_dict.get('frequency', '@daily') }} frequency = {{ slapparameter_dict.get('frequency', '@daily') }}
[activate-crontab-file] [activate-crontab-file]
# XXX File is never removed # XXX File is never removed
recipe = plone.recipe.command recipe = plone.recipe.command
stop-on-error = true stop-on-error = true
command = {{ coreutils_cat }} ${peertube-backup-cron:output} | {{ dcron_output }} -c 2>/dev/null ${directory:crontabs} - command = {{ coreutils_cat }} {{ template_crontab }} ${peertube-backup-cron:output} | {{ dcron_output }} -c ${directory:crontabs} -
[frontend] [frontend]
<= slap-connection <= slap-connection
......
# $${:_buildout_section_name_} # $${:_buildout_section_name_}
$${:frequency} $${:script} $${:frequency} ID=$${:name} $${:script}
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