Commit e2d73ad2 authored by Boxiang Sun's avatar Boxiang Sun

peertube: test fixup

parent 737db4d9
Pipeline #25094 passed with stage
in 0 seconds
......@@ -18,7 +18,7 @@ md5sum = 35690065ba18dc49d0108fc1f0a07b9e
[instance-peertube]
_update_hash_filename_ = instance-peertube.cfg.in
md5sum = adb282d1ea7d94e7af0b13049dccf66d
md5sum = dedf43efb45743e6401cebec57fc2e8e
[template-nginx-service]
filename = template-nginx-service.sh.in
......@@ -42,7 +42,7 @@ md5sum = 851262d7174da868805cb7c8e1ced7c0
[template-crontab-line]
filename = template-crontab-line.in
md5sum = 5cbd64f04da0601ba4286516a6161f5e
md5sum = bab861f1d057e837697d78e74e47b0bb
[template-crontab]
filename = template-crontab.in
......
......@@ -203,13 +203,14 @@ recipe = slapos.recipe.template
url = {{ template_crontab_line }}
output = ${directory:bin}/${:_buildout_section_name_}
script = ${peertube-backup-script:output}
name = ${:_buildout_section_name_}
frequency = {{ slapparameter_dict.get('frequency', '@daily') }}
[activate-crontab-file]
# XXX File is never removed
recipe = plone.recipe.command
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]
<= slap-connection
......
# $${:_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