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