11 lines
177 B

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