mail domain

This commit is contained in:
Bob Mottram 2016-12-04 18:05:33 +00:00
parent 3c0200359a
commit 813558aaf2
2 changed files with 3 additions and 0 deletions

View File

@ -735,6 +735,7 @@ function install_gnusocial_main {
# turn off logging
echo "\$config['site']['logfile'] = '/dev/null';" >> $gnusocial_config_file
echo "\$config['mail']['domain'] = '${DEFAULT_DOMAIN_NAME}';" >> $gnusocial_config_file
# This improves performance
sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $gnusocial_config_file

View File

@ -578,6 +578,8 @@ function install_postactiv_main {
echo "\$config['ostatus']['hub_retries'] = 3;" >> $postactiv_config_file
fi
echo "\$config['mail']['domain'] = '${DEFAULT_DOMAIN_NAME}';" >> $postactiv_config_file
# This improves performance
sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $postactiv_config_file