1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searxng_ynh.git synced 2024-09-03 20:26:00 +02:00

Fix name of service in change_url

This commit is contained in:
mh4ckt3mh4ckt1c4s 2023-03-04 00:59:55 +01:00
parent ba7148bbe9
commit c671580678

View file

@ -74,7 +74,7 @@ fi
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=uwsgi --action="stop" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="stop" --log_path="/var/log/$app/$app.log"
#=================================================
# MODIFY URL IN NGINX CONF
@ -113,7 +113,7 @@ fi
#=================================================
ynh_script_progression --message="Reconfiguring SearXNG..." --weight=2
ynh_replace_string --match_string="base_url: \"https://$old_domain$old_path}\"" --replace_string="base_url: \"https://$new_domain$new_path\"" --target_file="$final_path/searx/settings.yml"
ynh_replace_string --match_string="base_url: https://$old_domain$old_path}" --replace_string="base_url: https://$new_domain$new_path" --target_file="$final_path/searx/settings.yml"
#=================================================
# GENERIC FINALISATION