Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit if dyndns not set #20

Open
2 tasks
pablomendezroyo opened this issue Aug 30, 2021 · 0 comments
Open
2 tasks

Exit if dyndns not set #20

pablomendezroyo opened this issue Aug 30, 2021 · 0 comments

Comments

@pablomendezroyo
Copy link

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}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant