mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	fix alpine syncthing config not being created (#6773)
This commit is contained in:
		@@ -15,6 +15,9 @@ update_os
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
msg_info "Setup Syncthing"
 | 
					msg_info "Setup Syncthing"
 | 
				
			||||||
$STD apk add --no-cache syncthing
 | 
					$STD apk add --no-cache syncthing
 | 
				
			||||||
 | 
					rc-service syncthing start
 | 
				
			||||||
 | 
					sleep 3
 | 
				
			||||||
 | 
					rc-service syncthing stop
 | 
				
			||||||
sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /var/lib/syncthing/.local/state/syncthing/config.xml
 | 
					sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /var/lib/syncthing/.local/state/syncthing/config.xml
 | 
				
			||||||
msg_ok "Setup Syncthing"
 | 
					msg_ok "Setup Syncthing"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user