Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

systemd unit file for debian/ubuntu refers to /etc/sysconfig/td-agent #207

Closed
rene00 opened this issue May 31, 2019 · 1 comment
Closed

Comments

@rene00
Copy link

rene00 commented May 31, 2019

The td-agent debian package ships a td-agent systemd unit file which refers to /etc/sysconfig/td-agent for EnvironmentFile:

EnvironmentFile=-/etc/sysconfig/td-agent

The /etc/sysconfig directory does not exist on a pristine debian/ubuntu install. /etc/default is generally used instead.

From the Debian Policy manual:

To ease the burden on the system administrator, such configurable values should not be placed directly in the script. Instead, they should be placed in a file in /etc/default, which typically will have the same base name as the init.d script.

Is there a chance that the systemd unit file that ships with the debian package use/etc/default/td-agent instead of /etc/sysconfig/td-agent?

@repeatedly
Copy link
Contributor

Fixed by #211
3.5.0 fixes this problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants