trilium/DockerHealthcheck.sh
2022-06-19 12:23:00 +03:00

7 lines
123 B
Bash
Executable File

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