I’m running Gnome on Fedora, and I autostart syncthing on login by placing the following desktop file in
[Desktop Entry] Name=syncthing GenericName=FileSync Comment=Background Syncthing Node Exec=syncthing --no-browser Terminal=false Type=Application StartupNotify=false
This works fine, but when I logout, syncthing stays running in the background. Is there a way to make syncthing more “attached” to my graphical session so that when the session dies, so does syncthing?
I only care about this because my
/home is provide via NFS. This means that when syncthing stays running on some workstation, I can’t launch it on any other workstation.