-
-
Notifications
You must be signed in to change notification settings - Fork 476
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
Handle Restart/RestartSec systemd service file options #627
base: master
Are you sure you want to change the base?
Conversation
This could definitely be useful for people on systemd-based distributions. Is there a particular reason the two parameters are stored in the |
Hello Tyler, No specific reason I just saw it was done that way so I mimiced the existing. Regards, Adam. |
Thanks @eLvErDe. I think this only needs a few changes changes to merge it in:
<% if @systemd_restart %>Restart=<%= @systemd_restart %><% end %> Becomes this: <% if @systemd_restart -%>Restart=<%= @systemd_restart %><% end -%> |
Hello, Thanks for the feedback. When you say top level you mean parameter of the elasticsearch class directly? Regards, Adam Le 24 mai 2016 22:01:06 GMT+02:00, Tyler Langlois [email protected] a écrit :
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté. |
Correct; placing them in
|
Got it, I'll try to find time to do this tomorrow. Should I fail() if parameters are invalid? Le 24 mai 2016 23:20:32 GMT+02:00, Tyler Langlois [email protected] a écrit :
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté. |
Yep! I'd just follow the way the other parameters are validated (like |
Hi there, Firstly, thank you for taking the time to contribute, and apologies for the radio silence from Elastic on this PR. I'm going to be working on this module over the next few weeks, with an ultimate aim of updating the module to support the elasticsearch 7.x and simplifying the module to make it easier to use. I'll be reviewing all the open issues and PRs over the next few days, and will merge or provide feedback where appropriate. So please hang in there whilst we give this module some TLC. Thanks again. |
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
Dear @eLvErDe, thanks for the PR! This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
Hello,
Here is a quick improvement to be able to use auto-restart feature provided by systemd service files.
Best regards, Adam.