-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
Using a an overridable systemd unit #675
Comments
Working here, but not the same usage. Our wrapper is called elasticsearch-wrapper In the role (ruby role)
and our template is named as the default cookbooks/elasticsearch-wrapper/templates/systemd_unit.erb |
You can also use the systemd override mechanism directly, e.g. in RHEL: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-Managing_Services_with_systemd-Unit_Files#brid-Managing_Services_with_systemd-Overriding_Unit_Mod |
Is anyone successfully using a custom systemd script? This is what I have in my wrapper cookbook 'elsaticsearch-cvent' that calls this public elasticsearch cookbook:
Then I have systemd_unit_cvent.erb in the template section of my ''elsaticsearch-cvent' wrapper cookbook.
But the elasticsearch.service file that gets generated doesn't contain my customizations in my systemd_unit_cvent.erb template file.
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: