mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 17:21:23 +08:00
update it to check for login 200
This commit is contained in:
parent
57609a5952
commit
0b0d1b59b9
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
if wget --spider -S "127.0.0.1:8080" 2>&1 | grep -w "302" ; then
|
||||
if wget --spider -S "127.0.0.1:8080/login" 2>&1 | grep -w "200" ; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue