mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-28 16:01:56 +00:00
Update syncthing-install.sh
fix config path
This commit is contained in:
parent
e2354aaab8
commit
9a9e91988f
@ -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 New Issue
Block a user