-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Change systemd execstart to yml conf #9714
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 ! |
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: