This website requires JavaScript.
Explore
Help
Register
Sign In
haeaeae
/
filebrowser
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
cdcd9a313aa50c2e6806a182b6838462d42dcafe
filebrowser
/
healthcheck.sh
T
4 lines
94 B
Bash
Raw
Normal View
History
Unescape
Escape
feat: add a healthcheck script that works with a dynamic port (
#2510
)
2023-07-22 14:07:15 -07:00
#!/bin/sh
PORT
=
$(
jq .port /.filebrowser.json
)
curl -f http://localhost:
$PORT
/health
||
exit
1
Reference in New Issue
Copy Permalink