Commit de4c042c authored by Romain Courteaud's avatar Romain Courteaud

Status should always include stat path.

parent c69677f9
...@@ -211,7 +211,7 @@ mode = 0644 ...@@ -211,7 +211,7 @@ mode = 0644
[template-backup-script] [template-backup-script]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/template-backup-script.sh.in url = ${:_profile_base_location_}/template-backup-script.sh.in
md5sum = 3c4ad4b9a1ecef88f35a84ceb84a3ec6 md5sum = 0d8fb8ea80966af7d67ad50d50547dce
output = ${buildout:directory}/template-backup-script.sh.in output = ${buildout:directory}/template-backup-script.sh.in
mode = 0644 mode = 0644
......
...@@ -9,7 +9,7 @@ ${coreutils-output:rm} -f $${:status_log} ...@@ -9,7 +9,7 @@ ${coreutils-output:rm} -f $${:status_log}
${coreutils-output:rm} -f $${:statistic_log} ${coreutils-output:rm} -f $${:statistic_log}
# Inform about beginning of backup # Inform about beginning of backup
${coreutils-output:echo} "`${coreutils-output:date} -u`, $${:hostname} backup running" >> $${:status_log} ${coreutils-output:echo} "`${coreutils-output:date} -u`,$${:statistic_log}, $${:hostname} backup running" >> $${:status_log}
${coreutils-output:echo} "Available only if backup succeed." >> $${:statistic_log} ${coreutils-output:echo} "Available only if backup succeed." >> $${:statistic_log}
# set -e # set -e
......
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