[IMP] kill service if sync fails

This, used in combination with a scheduler, clearly marks "problem" to the
cluster operator
This commit is contained in:
David Arnold
2018-02-11 13:36:36 -05:00
parent 3b400123d3
commit 918b7f656a

View File

@@ -30,6 +30,7 @@ else
echo "Backup Failed with Status ${rc}"
restic unlock
copyErrorLog
kill 1
fi
if [ -n "${RESTIC_FORGET_ARGS}" ]; then