diff --git a/scripts/change_url b/scripts/change_url index b553134..feaf25f 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -109,7 +109,7 @@ ynh_script_progression --message="Updating systemd configuration..." --weight=1 if [ $change_path -eq 1 ] then - ynh_replace_string --match_string=$old_path --replace_string=$new_path --target_file="/etc/systemd/system/$app.service" + ynh_replace_string --match_string="--baseurl=$old_path" --replace_string="--baseurl=$new_path" --target_file="/etc/systemd/system/$app.service" systemctl daemon-reload fi