mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
12 lines
198 B
Bash
12 lines
198 B
Bash
#!/bin/sh
|
|
|
|
URL=${TRILIUM_URL:-"http://localhost:8080"}
|
|
|
|
if curl -s "$URL" > /dev/null; then
|
|
echo "Trilium is up and running."
|
|
exit 0
|
|
else
|
|
echo "Trilium is not responding."
|
|
exit 1
|
|
fi
|