24 lines
		
	
	
		
			353 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			353 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| 
								 | 
							
								.. _update searx:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								=============
							 | 
						||
| 
								 | 
							
								How to update
							 | 
						||
| 
								 | 
							
								=============
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								.. code:: sh
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    sudo -H -u searx -i
							 | 
						||
| 
								 | 
							
								    (searx)$ git stash
							 | 
						||
| 
								 | 
							
								    (searx)$ git pull origin master
							 | 
						||
| 
								 | 
							
								    (searx)$ git stash apply
							 | 
						||
| 
								 | 
							
								    (searx)$ ./manage.sh update_packages
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Restart uwsgi:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								.. tabs::
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   .. group-tab:: Ubuntu / debian
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								      .. code:: sh
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								         sudo -H systemctl restart uwsgi
							 |