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

Allow configuration of systemd service Restart directive #786

Open
femiagbabiaka opened this issue Aug 24, 2023 · 0 comments
Open

Allow configuration of systemd service Restart directive #786

femiagbabiaka opened this issue Aug 24, 2023 · 0 comments
Labels
Feature Request Enhancement to existing functionality or new functionality

Comments

@femiagbabiaka
Copy link

🗣️ Foreword

Thank for taking the time to fill this feature request fully. Without it we may not be able to , and the issue may be closed without resolution.

:person_frowning: Problem Statement

There are situations where one would want to allow Elasticsearch to restart on failure, such as OOM's. I'm not sure the current design of the service resource allows for this.

❔ Possible Solution

We could add parameters that allow for conditional configuration of the Restart directives and fall back to the current default to avoid breakage in behavior.

⤴️ Describe alternatives you've considered

I could add another resource in my cookbook that alters the file after it's written here.

If it's possible (I'm not sure how), I could override the systemd service without editing the service here, via some aspect of Chef or Ruby I'm not aware of.

➕ Additional context

None that I know of.

@femiagbabiaka femiagbabiaka added the Feature Request Enhancement to existing functionality or new functionality label Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Enhancement to existing functionality or new functionality
Projects
None yet
Development

No branches or pull requests

1 participant