Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aktualizr-lite: reboot on failed start #1105

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

mwasilew
Copy link
Contributor

This patch will force systemd to reboot the board in case aktualizr-lite fails to start. It prevents going into a state when aktualizr-lite doesn't start after OTA and there is no other service that would force a rollback.

Copy link
Contributor

@MrCry0 MrCry0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This patch will force systemd to reboot the board in case aktualizr-lite
fails to start 3 times. It prevents going into a state when aktualizr-lite
doesn't start after OTA and there is no other service that would force a
rollback.

Signed-off-by: Milosz Wasilewski <[email protected]>
@MrCry0
Copy link
Contributor

MrCry0 commented Apr 19, 2023

Looks better :)

Copy link
Member

@ricardosalveti ricardosalveti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ricardosalveti
Copy link
Member

@mwasilew mind doing a similar update for docker?

@ricardosalveti ricardosalveti merged commit e35d9d3 into foundriesio:main Apr 21, 2023
@mwasilew
Copy link
Contributor Author

@mwasilew mind doing a similar update for docker?

Sure, I was working on it on Wed, but didn't finish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants