10 lines
177 B

  1. #!/bin/bash
  2. set -e
  3. . lib/common
  4. DOMAIN=$(relation-get domain) || exit 1
  5. URL=$(relation-get url) || exit 1
  6. ini set server ROOT_URL "$URL/"
  7. ini set server SSH_DOMAIN "$DOMAIN"