You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no mechanism that can automatically restart crashed software (due to an error).
One solution would be to replace the startup script with systemd.
Here is tutorial how to start systemd service after NTP sync. As replacement for used ntp-wait.
Systemd can "branch" processes one after another. For example, it restart all processes (in row) when the 1st process crash.
It also contains timers that can call/start process periodically. That would simplify DataUploader, for example.
The text was updated successfully, but these errors were encountered:
roman-dvorak
changed the title
The crashed application will not restart "itself"
Rewrite start.sh into systemd services for more flexibile process management.
Apr 21, 2024
There is no mechanism that can automatically restart crashed software (due to an error).
One solution would be to replace the startup script with systemd.
Here is tutorial how to start systemd service after NTP sync. As replacement for used
ntp-wait
.Systemd can "branch" processes one after another. For example, it restart all processes (in row) when the 1st process crash.
It also contains
timers
that can call/start process periodically. That would simplify DataUploader, for example.The text was updated successfully, but these errors were encountered: