"As for the daemon thing... We ship systemd files in the Debian package, for example. A user can start Syncthing for themselves by systemctl enable syncthing@jb or something like that. It'll then nicely autostart itself and just generally work, which is something that we otherwise get lots of questions about how to accomplish. :)
It appears that when I add the daemon: simple thing to the meta file, I get something like snap.syncthing.syncthingd.service which is a system level service running as root only, which does not help at all. Hence the question about how to integrate, if it's possible."
Something like this was requested by syncthing:
"As for the daemon thing... We ship systemd files in the Debian package, for example. A user can start Syncthing for themselves by systemctl enable syncthing@jb or something like that. It'll then nicely autostart itself and just generally work, which is something that we otherwise get lots of questions about how to accomplish. :)
It appears that when I add the daemon: simple thing to the meta file, I get something like snap.syncthing. syncthingd. service which is a system level service running as root only, which does not help at all. Hence the question about how to integrate, if it's possible."