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

Rewrite start.sh into systemd services for more flexibile process management. #3

Open
roman-dvorak opened this issue Apr 1, 2022 · 0 comments

Comments

@roman-dvorak
Copy link
Member

roman-dvorak commented Apr 1, 2022

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.

@roman-dvorak 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
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

No branches or pull requests

1 participant