initial release
All checks were successful
All checks were successful
This commit is contained in:
13
rootfs/app/healthcheck.sh
Executable file
13
rootfs/app/healthcheck.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
STATUS_FILE=/last_backup_status.txt
|
||||
|
||||
if [ ! -f "${STATUS_FILE}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$(cat "${STATUS_FILE}")" != "success" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user