docker-restic-cron/scripts/healthcheck.sh

6 lines
79 B
Bash
Raw Permalink Normal View History

2019-02-01 21:48:00 +00:00
#! /bin/bash
HEALTH_FILE=/unhealthy
test -f $HEALTH_FILE || exit 0 && exit 1