Skip to content

Exit if dyndns not set #20

@pablomendezroyo

Description

@pablomendezroyo

If dyndns is not propertly get from the dappmanager API, the wireguard app should exit with an error so the container keep restarting until it gets the dynds.

TODO

  • At the script 30-config add something similar to
  # Exit if SERVERURL not set
  [ -z "$SERVERURL" ] && { echo "**** ERROR: External server address not found at my.dappnode/global-envs/HOSTNAME ****"; exit 1}

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