diff --git a/software/backupserver/software.cfg b/software/backupserver/software.cfg index 99f50cd9a1b9f4436e4bfbbd49bf2f7891f49ab1..581ebf706de087d74396dc1347f963e74b9be941 100644 --- a/software/backupserver/software.cfg +++ b/software/backupserver/software.cfg @@ -196,7 +196,7 @@ mode = 0644 [template-backup-script] recipe = slapos.recipe.template url = ${:_profile_base_location_}/template-backup-script.sh.in -md5sum = 92183f2d42e8ffb8112f26ecab2cdcbc +md5sum = 8a076962fc4df7f154572543899328e3 output = ${buildout:directory}/template-backup-script.sh.in mode = 0644 diff --git a/software/backupserver/template-backup-script.sh.in b/software/backupserver/template-backup-script.sh.in index 094459e4a03019f7c7bddfde44958202dbd976f4..360c2685fb8d09ce82213fa25a26ca32a91a44d6 100644 --- a/software/backupserver/template-backup-script.sh.in +++ b/software/backupserver/template-backup-script.sh.in @@ -22,6 +22,7 @@ ${rdiff-backup-output:rdiff-backup} \ RESULT=$? # Inform about backup status +${coreutils-output:rm} -f $${:status_log} if [ $RESULT -eq 0 ] then ${coreutils-output:echo} "`${coreutils-output:date} -u`, $${:hostname} backup success" >> $${:status_log}