+if [ -z "$ENCRYPTION_KEY" ]
+ then
+ echo "ERROR: You must specify the encryption key"
+ exit 1
+fi
+
+if [ -z "$UI_ADMIN_PASSWORD" ]
+ then
+ echo "ERROR: You must specify the UI admin password"
+ exit 1
+fi
+
+echo "Note: If there is a password already stored in database, the supplied UI_ADMIN_PASSWORD will be ignored."
+