treasure-data / omnibus-td-agent

td-agent (Fluentd) Packaging Scripts
https://docs.treasuredata.com/articles/td-agent-changelog
Apache License 2.0
82 stars 131 forks source link

Td-agent not able to install in customize path instead of default path #303

Closed Priyankanavalagund closed 1 year ago

Priyankanavalagund commented 1 year ago

I am trying to install td-agent in centos with below cmd curl -L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent4.sh | sh

But its installing default location /opt/td-agent/bin but i need to install customize path like this /DG/activeRelease/IDAP/

while installing td-agent by default ruby also installed in default location. so ruby is pointing to default path. i need help how we can install td-agent in customize path.

Please help me as soon as possible. Thank you so much for your help

ashie commented 1 year ago

For td-agent v4 or later, please file issues to https://github.com/fluent/fluent-package-builder/issues instead of here.

There is no way to change install path of official td-agent package. If you really want to this, you need to modify the build system to create your own package.

Priyankanavalagund commented 1 year ago

For td-agent v4 or later, please file issues to https://github.com/fluent/fluent-package-builder/issues instead of here.

There is no way to change install path of official td-agent package. If you really want to this, you need to modify the build system to create your own package.

Thank you so much @ashie. how to build system to create own packages if you have any commend or guide it will be great help for us.