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:
parent
ba7148bbe9
commit
c671580678
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue