mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 08:13:40 +08:00
7 lines
105 B
Bash
7 lines
105 B
Bash
![]() |
#!/bin/sh
|
||
|
if wget --spider -S "127.0.0.1:8080" 2>&1 | grep -w "302" ; then
|
||
|
exit 0
|
||
|
else
|
||
|
exit 1
|
||
|
fi
|