2
SITE_CONF='/etc/apache2/sites-enabled/juju-gui'
3
ADDRESS='https://127.0.0.1:443/juju-ui/version.js'
4
LIFE_SIGN='jujuGuiVersionInfo'
6
if [[ ! -f $SITE_CONF ]]; then
7
echo Apache is not configured serve juju-gui.
11
match=$(curl -k $ADDRESS | grep "$LIFE_SIGN")
13
if [[ -z $match ]]; then
14
echo juju-gui did not return content indicating it was loading.