|
|
|
@ -28,7 +28,7 @@ $STD apt-get install -y syncthing |
|
|
|
$STD systemctl enable syncthing@root.service |
|
|
|
$STD systemctl enable syncthing@root.service |
|
|
|
systemctl start syncthing@root.service |
|
|
|
systemctl start syncthing@root.service |
|
|
|
sleep 5 |
|
|
|
sleep 5 |
|
|
|
sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /root/.config/syncthing/config.xml |
|
|
|
sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /root/.local/state/syncthing/config.xml |
|
|
|
systemctl restart syncthing@root.service |
|
|
|
systemctl restart syncthing@root.service |
|
|
|
msg_ok "Installed Syncthing" |
|
|
|
msg_ok "Installed Syncthing" |
|
|
|
|
|
|
|
|
|
|
|
|