Support SEARXNG_SETTINGS_PATH folder
This commit is contained in:
		
							parent
							
								
									2fbf15eccb
								
							
						
					
					
						commit
						6f33031efd
					
				@ -135,6 +135,10 @@ update_conf() {
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
if [ -d "${SEARXNG_SETTINGS_PATH}" ]; then
 | 
			
		||||
    $SEARXNG_SETTINGS_PATH="${SEARXNG_SETTINGS_PATH}/settings.yml"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# searx compatibility: copy /etc/searx/* to /etc/searxng/*
 | 
			
		||||
SEARX_CONF=0
 | 
			
		||||
if [ -f "/etc/searx/settings.yml" ]; then
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user