mirror of
https://github.com/zadam/trilium.git
synced 2024-11-10 17:13:45 +08:00
6 lines
148 B
Bash
Executable file
6 lines
148 B
Bash
Executable file
#!/bin/sh
|
|
if wget --spider -S "127.0.0.1:8080/api/health-check" 2>&1 | awk 'NR==2' | grep -w "HTTP/1.1 200 OK" ; then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|