Skip to content

chimney script: check if chimney script run on the same server as the domain  #120

@boddumanohar

Description

@boddumanohar
IP=$(dig +short blimp8mzfc.zus.network)
CURRENT_IP=$(curl ipv4.icanhazip.com)

if [ "$EXPECTED_IP" != "$CURRENT_IP" ]; then
  echo "the ip of this server is not pointed to domain: blimp8mzfc.zus.network. Please point the domain and try again"
  exit 1
fi

This script can be used to check

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions