diff --git a/scripts/install b/scripts/install index e5c9ddf..bea78bc 100755 --- a/scripts/install +++ b/scripts/install @@ -218,7 +218,7 @@ cat "../conf/ldap.exs" >> "$config" ynh_replace_string --match_string="config :pleroma, configurable_from_database: false" --replace_string="config :pleroma, configurable_from_database: true" --target_file="$config" pushd $final_path/$app - ynh_exec_warn_less su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl migrate" + su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl migrate" ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started $app" sleep 60 diff --git a/scripts/upgrade b/scripts/upgrade index 3f6f92f..c31144e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -226,7 +226,7 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_script_progression --message="Making upgrade..." pushd $final_path/$app - ynh_exec_warn_less su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl migrate" + su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl migrate" popd #=================================================