Check that onion address was created
This commit is contained in:
parent
46b3e8f3d7
commit
92dd66d4fb
|
@ -9666,7 +9666,11 @@ function install_mediagoblin {
|
||||||
else
|
else
|
||||||
sed -i "s|Mediagoblin onion domain.*|Mediagoblin onion domain:${MEDIAGOBLIN_ONION_HOSTNAME}|g" $COMPLETION_FILE
|
sed -i "s|Mediagoblin onion domain.*|Mediagoblin onion domain:${MEDIAGOBLIN_ONION_HOSTNAME}|g" $COMPLETION_FILE
|
||||||
fi
|
fi
|
||||||
|
if [[ $MEDIAGOBLIN_ONION_HOSTNAME == *"not found"* ]]; then
|
||||||
|
echo $'Problem creating onion address for mediagoblin'
|
||||||
|
exit 672652
|
||||||
|
fi
|
||||||
|
|
||||||
# web config
|
# web config
|
||||||
MEDIAGOBLIN_VIRTUAL_HOST=/etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
|
MEDIAGOBLIN_VIRTUAL_HOST=/etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
|
||||||
nginx_http_redirect $MEDIAGOBLIN_DOMAIN_NAME
|
nginx_http_redirect $MEDIAGOBLIN_DOMAIN_NAME
|
||||||
|
|
Loading…
Reference in New Issue