Set restart policy of the anthias-wifi-connect service to on-failure.#1797
Set restart policy of the anthias-wifi-connect service to on-failure.#1797nicomiguelino wants to merge 1 commit intoScreenly:masterfrom
anthias-wifi-connect service to on-failure.#1797Conversation
|
Kudos, SonarCloud Quality Gate passed! |
|
@vpetersson, here are the statuses of the services after deploying the changes to my own fleet. I checked the Would it be better to start the service every device boot? |
Yes, if you're able to prevent a restart loop. |
|
Okay, thanks. One drawback of using It is possible to start |
That's the desired behavior.
That's a good point. However, I'm curious what the behavior is on Raspbian OS. Does it start once per boot, or only once in total? |
|
The behavior in RPi OS is different from that in balenaOS. In RPi OS, if the restart policy is set to default (no), it will never restart again, unless we'll explicitly start it. I've created a systemd service to start the anthias-wifi-connect service during startup. |









Overview
anthias-wifi-connectservice toon-failurefor devices running balenaOS. #1796