docker-duplicity-cron/healthcheck.sh

10 lines
99 B
Bash
Raw Permalink Normal View History

2019-02-01 21:48:00 +00:00
#! /bin/bash
HEALTH_FILE=/unhealthy
2020-02-14 20:12:07 +00:00
if [ -f "$HEALTH_FILE" ]; then
exit 1
else
exit 0
fi