I’m doing my first setup of Syncthing on a Raspberry Pi, and I have a couple of questions.
I want Syncthing to autostart without needing a user login, so I’ve set up with systemctl enable email@example.com, and it appears to be working; I’ve also set it to not launch until the time service is running by doing a systemctl edit firstname.lastname@example.org and adding this:
However, I want to provide some custom arguments to the Syncthing launch command - to point my ST home folder to an external device rather than using the SD card. Do I do this by editing /etc/systemd/user/syncthing@.service, or by setting the ExecStart line I want into the override file too?
Secondly: I’ve got Syncthing 1.7.1 running - but Automatic upgrades seem to be disabled. Is this intentional, or can I override that somehow?
You can configure automatic updates via APT in Debian. Or you can uninstall that package and download the binary directly from GitHub to get the built in auto upgrade. Keep in mind the binary and directory must be writable by the user running Syncthing.
The other stuff is a systemd question, but I expect you can override the ExecStart as you like.