docker-restic-cron/healthcheck.sh
2019-02-01 13:48:00 -08:00

6 lines
79 B
Bash
Executable File

#! /bin/bash
HEALTH_FILE=/unhealthy
test -f $HEALTH_FILE || exit 0 && exit 1