fix alpine syncthing config not being created (#6773)
This commit is contained in:
parent
6937ca1c67
commit
2b164f8281
@ -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"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user