-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Change systemd execstart to yml conf #9714
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Yes although we will have to be careful of impact on existing users who may be relying on overriding the conf file. It would have to be documented explicitly and maybe as a breaking change e.g. in 4.0 release @edsiper ? YAML format was only completed for 3.2 as well so previous versions are still supported. |
@P4R4DiSi4C How do you override the system configuration to use yaml? |
I have the following Ansible task:
With the following template:
And set the following value:
Which results in a
Hope it helps :) |
@edsiper I think we should consider this for 4.0, main thing is to ensure we notify people so they can expect it. See https://fluent-all.slack.com/archives/C0CTQGHKJ/p1736719725842959 as well. |
I've prepped a PR for this: #9837 Note there are a few more places to update and missing files to add, my PR covers all targets and adds them. |
Minor typo for @P4R4DiSi4C's benefit - you can drop the double slash in the ExecStart (it's a typo upstream too) so it should be
or .yaml depending on preferences :-) |
Thanks for that @Elwell ! |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the |
This issue was closed because it has been stalled for 5 days with no activity. |
Currently, '.conf' is hardcoded in the following file: https://github.com/fluent/fluent-bit/blob/master/init/systemd.in
Is there any plan to change it to '.yml' so we avoid the need of overriding the systemd configuration ?
The text was updated successfully, but these errors were encountered: