This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
freshrss/overlay/usr/local/bin/healthcheck
Robert Kaussow a8608644e8
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
use 127.0.0.1 for healthcheck instead of localhost
2020-05-05 17:52:44 +02:00

4 lines
99 B
Bash
Executable File

#!/usr/bin/env sh
(php -r "readfile('http://127.0.0.1:8080/i/');" | grep -q 'jsonVars') || exit 1