trilium/DockerHealthcheck.sh
2022-06-18 17:10:26 +03:00

7 lines
105 B
Bash
Executable file

#!/bin/sh
if wget --spider -S "127.0.0.1:8080" 2>&1 | grep -w "302" ; then
exit 0
else
exit 1
fi