File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,30 @@ This is preferred over Ansible so that I can more easily update them by updating
4848 )
4949 ```
5050
51+ === "sudo"
52+
53+ ```shell
54+ (
55+ sudo wget -O /usr/lib/systemd/system/syncthing@.service https://github.com/syncthing/syncthing/raw/refs/heads/main/etc/linux-systemd/system/syncthing@.service
56+ sudo systemctl enable syncthing@${USER}.service
57+ sudo systemctl start syncthing@${USER}.service
58+ )
59+ ```
60+
61+ === "root"
62+
63+ ```
64+ sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" "${HOME}/.local/state/syncthing/config.xml"
65+ systemctl restart syncthing@${USER}.service
66+ ```
67+
68+ === "sudo"
69+
70+ ```
71+ sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" "${HOME}/.local/state/syncthing/config.xml"
72+ sudo systemctl restart syncthing@${USER}.service
73+ ```
74+
5175### :desktop_computer : Control Node
5276
53771 . Add managed node.
You can’t perform that action at this time.
0 commit comments