1 2 3 4 5 6
#!/bin/bash MY_PUBLIC_IP=$(cat /opt/config/local_public_ipaddr.txt) VERSION=$(cat /opt/config/artifacts_version.txt) java -jar dns-manager-$VERSION.jar $MY_PUBLIC_IP 8888 10 3 0