On Wed, 2021-06-30 at 22:24 +0100, Patrick O'Callaghan wrote:
> That's actually a different service. Insync has a GUI-based app called
> 'insync' for workstations and a separate app called 'insync-headless'
> intended for servers. The two are essentially independent of each other
> and have different requirements. For historical reasons I'm using the
> latter.

After writing the above, a light dawned. Given that insync-headless is
marketed for servers, its natural mode of operation is going to be
independent of who is logged in. In turns out that the (undocumented)
configuration options include one called 'run_on_startup', which by
default is set to False. I changed it to True, disabled my systemd
service, and rebooted.

Lo and behold, insync-headless is now running on boot. What the config
option does is install a crontab entry under the user's /var/spool/cron
directory:

$ crontab -l

@reboot insync-headless start >/dev/null 2>&1

This runs independently of login sessions (multiple users might have
multiple such entries). That appears to be the solution. I stress again
that this is *undocumented*.

Apologies for the noise and thanks to all who attempted to help.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to