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

5 lines
116 B
Bash
Executable File

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