I found these instructions very helpful for setting up syncthing for multiple users on a single host using systemd.
I used the following to add the systemd files for each user on an ubuntu machine:
sudo systemclt enable syncthing@alice sudo systemctl enable syncting@bob sudo systemclt start syncthing@alice sudo systemctl start syncthing@bob
This works great. Syncthing starts and all of the other devices find the linux machine and start syncing.
I’m a little baffled how to set the port for the Web GUI or alternatively, how to find the ports other than digging through the systemd journal. Is there a simple way to do this?
I’m just learning about how systemctl unit templates work. As far as I can tell
systemctl enable syncthing@bob makes a symlink from
/firstname.lastname@example.org → /lib/systemd/system/syncthing@.service
I know that I can use
-gui-address="192.168.1.10:8384" in the unit file, but how can I do this when the file is symlinked? In this case both Bob and Alice will get the same values. This obviously will cause problems as both Bob and Alice will presumably have the same port.
Thanks for the help