default somain name

This commit is contained in:
Bob Mottram 2017-05-23 15:51:30 +01:00
parent 09f9943736
commit 8fa9358e47
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ scuttlebot_variables=(MY_USERNAME
SYSTEM_TYPE) SYSTEM_TYPE)
function scuttlebot_create_invite { function scuttlebot_create_invite {
read_config_param 'GNUSOCIAL_DOMAIN_NAME' read_config_param 'DEFAULT_DOMAIN_NAME'
SCUTTLEBOT_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_scuttlebot/hostname) SCUTTLEBOT_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_scuttlebot/hostname)
invite_string=$(su -c "sbot invite.create 1" - scuttlebot | sed 's/"//g' | sed "s/$DEFAULT_DOMAIN_NAME/$SCUTTLEBOT_ONION_HOSTNAME/g") invite_string=$(su -c "sbot invite.create 1" - scuttlebot | sed 's/"//g' | sed "s/$DEFAULT_DOMAIN_NAME/$SCUTTLEBOT_ONION_HOSTNAME/g")