Daemon mode allows a device to run Fioup as a systemd service periodically checking in with the Foundries.io™ Platform backend to apply updates as they are built in a Factory. It is disabled by default.
Before enabling daemon mode, the device must be registered with a Factory as root.
The SystemD service can be enabled and started with:
$ sudo systemctl enable fioup
$ sudo systemctl start fioup
The daemon can also be run by hand with sudo fioup daemon.
The default polling interval for updates is every 300 seconds. This can be
configured in /var/sota/sota.toml by adding:
[uptane]
polling_seconds = "60"