From 71c9e8613bd16a394b35927befaa0f6e433b20f1 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Thu, 24 Nov 2022 09:56:17 +0100 Subject: [PATCH] try fix swoosh smtp --- scripts/upgrade | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5ce6bce..899b356 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -231,15 +231,6 @@ chmod 750 "$datadir" chmod -R o-rwx "$datadir" chown -R $app:$app "$datadir" -#================================================= -# MAKE SETUP -#================================================= -ynh_script_progression --message="Making setup..." - -pushd $final_path/live - ynh_exec_as $app ./bin/mobilizon_ctl migrate -popd - #================================================= # UPDATE A CONFIG FILE #================================================= @@ -252,6 +243,15 @@ ynh_replace_string --match_string="adapter: Bamboo.SMTPAdapter," --replace_strin ynh_replace_string --match_string="server: \"127.0.0.1\"," --replace_string="relay: \"127.0.0.1\"," --target_file="$config" ynh_store_file_checksum --file="$config" +#================================================= +# MAKE SETUP +#================================================= +ynh_script_progression --message="Making setup..." + +pushd $final_path/live + ynh_exec_as $app ./bin/mobilizon_ctl migrate +popd + chmod 400 "$config" chown $app:$app "$config"