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

Improve rockstor.service re robustness #2657 #2658

Conversation

phillxnet
Copy link
Member

@phillxnet phillxnet commented Aug 17, 2023

Interact better with supervisord by not overriding shutdown.

  • Adds ExecStop instructing supervisord accordingly.
  • Adds ExecReload (for completeness as unused).
  • systemd's charge in this service is supervisord only, limit our KillMode to 'process' accordingly. This avoids an additional 1 minute timeout during our AT update script execution.
    Note that we currently run supervisord in foreground mode.

Fixes #2657

Interact better with supervisord by not overriding
shutdown.
- Adds ExecStop instructing supervisord accordingly.
- Adds ExecReload (for completeness as unused).
- systemd's charge in this service is supervisord only,
limit our KillMode to 'process' accordingly. This avoids
and additional 1 minute timeout during our AT update
script execution.
Note that we currently run supervisord in foreground mode.
@phillxnet
Copy link
Member Author

See linked issue comments for development and testing notes.

@phillxnet phillxnet merged commit 8d6f813 into rockstor:testing Aug 17, 2023
@phillxnet phillxnet deleted the 2657-Improve-rockstor.service-re-robustness branch August 17, 2023 17:20
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.

1 participant