|
@@ -382,6 +382,9 @@ function install_mediagoblin {
|
382
|
382
|
su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg adduser --username $MY_USERNAME --password $MY_USERNAME $MEDIAGOBLIN_ADMIN_PASSWORD" - mediagoblin
|
383
|
383
|
su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg makeadmin $MY_USERNAME" - mediagoblin
|
384
|
384
|
|
|
385
|
+ sed -i 's|email_debug_mode.*|email_debug_mode = false|g' $MEDIAGOBLIN_BASE_DIR/mediagoblin/mediagoblin.ini
|
|
386
|
+ sed -i "s|email_sender_address.*|email_sender_address = \"noreply@${DEFAULT_DOMAIN_NAME}\"|g" $MEDIAGOBLIN_BASE_DIR/mediagoblin/mediagoblin.ini
|
|
387
|
+
|
385
|
388
|
systemctl enable mediagoblin
|
386
|
389
|
systemctl daemon-reload
|
387
|
390
|
systemctl start mediagoblin
|