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

Add starting slash to config path in systemd config #2767

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

toshitanian
Copy link

@toshitanian toshitanian commented Nov 13, 2020

config file path specified in systemd config is set as relative path. It should be intended to be absolute path.

...
[Service]
Type=simple
ExecStart=/usr/local/bin/fluent-bit -c etc/fluent-bit/fluent-bit.conf
...

In the upstart config, the path is defined as absolute path. I suppose that the path should be set to as absolute path in systemd config as well.
https://github.com/fluent/fluent-bit/blob/master/init/upstart.in#L10

Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • Example configuration file for the change

  • [N/A] Debug log output from testing the change

  • [N/A] Attached Valgrind output that shows no leaks or memory corruption was found

  • [N/A] Documentation required for this feature

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

@toshitanian toshitanian changed the title Add starting slask to config path in systemd config Add starting slash to config path in systemd config Nov 13, 2020
@toshitanian toshitanian force-pushed the fix_systemd_config branch 2 times, most recently from 33cb1d2 to 7032658 Compare November 13, 2020 05:37
@toshitanian
Copy link
Author

@edsiper Do i have to do any action to this single line change?

@github-actions
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant