Update syncthing-install.sh
fix config path
This commit is contained in:
parent
e2354aaab8
commit
9a9e91988f
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue