Learn Syncthing


Setup syncthing to use systemd

Enable the service and start it:

systemctl enable syncthing@myuser.service
systemctl start syncthing@myuser.service

Expose Syncthing Web UI

update systemd file to expose web ui on host 0.0.0.0 (or your public ip) and port 8384:

sudo nano /lib/systemd/system/syncthing@.service 

Modify the ExecStart line to include the following arguments:

ExecStart=/usr/bin/syncthing serve --no-browser --no-restart --logflags=0 --gui-address="0.0.0.0:8384"

Then reload systemd and restart syncthing:

systemctl daemon-reload
systemctl restart syncthing@myuser.service