fix: add jq raw output flag for port as well
This commit is contained in:
parent
b0f7c87c49
commit
e03e102c2a
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
PORT=${FB_PORT:-$(jq .port /.filebrowser.json)}
|
PORT=${FB_PORT:-$(jq -r .port /.filebrowser.json)}
|
||||||
ADDRESS=${FB_ADDRESS:-$(jq -r .address /.filebrowser.json)}
|
ADDRESS=${FB_ADDRESS:-$(jq -r .address /.filebrowser.json)}
|
||||||
ADDRESS=${ADDRESS:-localhost}
|
ADDRESS=${ADDRESS:-localhost}
|
||||||
curl -f http://$ADDRESS:$PORT/health || exit 1
|
curl -f http://$ADDRESS:$PORT/health || exit 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user