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

Changes to move telegraf out of /etc/opt #268

Closed
wants to merge 6 commits into from

Conversation

linsomniac
Copy link
Contributor

Issue #264: This attempts to fix the /etc/opt and put the binary
linked into /bin

Note: I can't seem to find the right combination of packages for
getting package.sh to run, so I haven't been able to test this.

Issue influxdata#264: This attempts to fix the /etc/opt and put the binary
linked into /bin

Note: I can't seem to find the right combination of packages for
getting package.sh to run, so I haven't been able to test this.
@@ -95,7 +95,7 @@ function log_success_msg() {
name=telegraf

# Daemon name, where is the actual executable
daemon=/opt/telegraf/telegraf
daemon=/bin/telegraf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/usr/bin/telegraf, then?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this should be /usr/bin

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, fixed.

@sparrc
Copy link
Contributor

sparrc commented Oct 15, 2015

@linsomniac please also edit the README with the new paths, thank you!

@linsomniac
Copy link
Contributor Author

Ahh, good point. Thanks, pushed changes.

@@ -36,8 +36,8 @@ Latest:

##### Package instructions:

* Telegraf binary is installed in `/opt/telegraf/telegraf`
* Telegraf daemon configuration file is in `/etc/opt/telegraf/telegraf.conf`
* Telegraf binary is installed in `/usr/sbin/telegraf`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/usr/bin

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh, thanks! Sorry, distracted this afternoon. :-/

@ekini
Copy link
Contributor

ekini commented Oct 16, 2015

You also have to change paths in scripts/telegraf.service.

@linsomniac
Copy link
Contributor Author

Done.

@sparrc
Copy link
Contributor

sparrc commented Oct 16, 2015

cc @rossmcdonald FHS changes for Telegraf

@padcom
Copy link

padcom commented Dec 18, 2015

@linsomniac Is there a chance to update the branch so that it is in line with the latest?

@sparrc
Copy link
Contributor

sparrc commented Jan 8, 2016

closing this in favor of #497

@sparrc sparrc closed this Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants