| 
				
			 | 
			
			
				@@ -6144,6 +6144,7 @@ function install_syncthing { 
			 | 
		
	
		
			
			| 
				6144
			 | 
			
				6144
			 | 
			
			
				     echo '' >> /etc/systemd/system/syncthing.service 
			 | 
		
	
		
			
			| 
				6145
			 | 
			
				6145
			 | 
			
			
				     echo '[Service]' >> /etc/systemd/system/syncthing.service 
			 | 
		
	
		
			
			| 
				6146
			 | 
			
				6146
			 | 
			
			
				     echo 'User=root' >> /etc/systemd/system/syncthing.service 
			 | 
		
	
		
			
			| 
				
			 | 
			
				6147
			 | 
			
			
				+    echo "Environment='all_proxy=socks5://localhost:9050'" >> /etc/systemd/system/syncthing.service 
			 | 
		
	
		
			
			| 
				6147
			 | 
			
				6148
			 | 
			
			
				     echo 'ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0' >> /etc/systemd/system/syncthing.service 
			 | 
		
	
		
			
			| 
				6148
			 | 
			
				6149
			 | 
			
			
				     echo 'Restart=on-failure' >> /etc/systemd/system/syncthing.service 
			 | 
		
	
		
			
			| 
				6149
			 | 
			
				6150
			 | 
			
			
				     echo 'SuccessExitStatus=3 4' >> /etc/systemd/system/syncthing.service 
			 |