Description
I have a software running on the OS that will call mender commit
after running for 15 minutes. If the software fails to start, it would never commit.
I assume that Mender will not take action by itself. The idea is that I create a systemd timer that runs 3h after boot and checks if the update is committed. If not, it restarts the system and it will be in the old partition again.
Example use-cases:
OS update causes essential software to not work anymore
Questions
- Is this a good idea or is there something better than the systemd timer?
- Is
fw_printenv
the best way to check if the update has been committed yet?
Thanks,
Dominik