fix alpine syncthing config not being created (#6773)

This commit is contained in:
GaminnLinux
2025-08-12 20:59:42 +02:00
committed by GitHub
parent 6937ca1c67
commit 2b164f8281

View File

@@ -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"