#!/bin/sh set -eu case "${1-}" in http://core:8787|http://core:8787/) exit 0 ;; *) exit 2 ;; esac