Read default domain
This commit is contained in:
parent
7aff83ac98
commit
c67e9c9636
|
@ -44,6 +44,7 @@ scuttlebot_variables=(MY_USERNAME
|
|||
SYSTEM_TYPE)
|
||||
|
||||
function scuttlebot_create_invite {
|
||||
read_config_param ${GNUSOCIAL_DOMAIN_NAME}
|
||||
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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue