I tried to use “sudo systemctl enable syncthing@username.service” to start syncthing automatically
Symlink was created successfully
When i run “systemctl status syncthing@username.service” i get “failed userID 217” something like this
I wasn’t sure at first what username i was supposed to use (ubuntu username or syncthing username), but i used the syncthing username (the one for the GUI) after the syncthing arch wiki page referring to the “actual name of the syncthing user”.
Was this correct?
Or is it because the username i used for Syncthing has no HOME directory?
It’s syncthing@<username for which you want to run syncthing>.service
Regardless, you can check the logs of the failed service to see why it failed, and yes, that usually needs a home directory to store config and what not.