Syncthing only works when cockpit tab is open

I have a server running Fedora 34 server edition. I installed syncthing and it does not run unless I have a browser tab of cockpit open. Then my PC and the server connect and it begins syncing. I have no idea what is causing this problem. any advice would be greatly appreciated.

You probably used a systemd user service. Those are tied to a user being logged in which happens if you log into your machine using cockpit.

The solution is basically to switch from the user to a system service.

systemctl --user disable --now syncthing
sudo systemctl enable --now syncthing@$USER


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.