From 7a77d1a36370be3736ae5b538b7d295fe96a1214 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 12 Mar 2021 23:45:19 +0100 Subject: [PATCH] Update change_url --- scripts/change_url | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/change_url b/scripts/change_url index 7942d0e..0d21ef4 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -126,6 +126,13 @@ ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$configfile" ynh_replace_string --match_string="__KEY__" --replace_string="$key" --target_file="$configfile" + +#================================================= +# MODIFY THE FEDERATION +#================================================= + +$final_path/code/virtualenv/bin/python $final_path/code/api/manage.py fix_federation_ids https://$domain https://$new_domain --no-dry-run --no-input + #================================================= # START SYSTEMD SERVICE #=================================================