Commit Graph

7 Commits

Author SHA1 Message Date
Sean Reifschneider 3fe94ea033 Merge 868f4707bf into 553208a960 2015-10-21 18:11:32 +00:00
Sean Reifschneider 555436a222 Fix for init script for other procs with "telegraf"
The init script fails if another process has the word "telegraf" in
it, for example if you aren running "vi /etc/opt/telegraf/telegraf.conf"
or "tail -f /var/log/telegraf/telegraf.log".  This is because
the "-f" flag to "pgrep" will show processes with the search
string anywhere in the command-line.

This patch turns it around and gets the "ps" output for the process
in the pidfile, and if that line has "telegraf" in it, it considers
it to be running.

Closes #266
Closes #267
2015-10-15 15:06:05 -06:00
Sean Reifschneider 0e902982ff Another /bin reference -> /usr/bin 2015-10-15 14:23:15 -06:00
Sean Reifschneider ebc375cd28 Changes to move telegraf out of /etc/opt
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.
2015-10-15 11:16:17 -06:00
Eugene Dementiev 406e980fae install and init script for el5
Fixes #186
Closes #203
2015-09-16 14:19:57 -07:00
jseriff f5a8739b7c update init.sh to use telegraf directories
init.sh should use telegraf directories that are established in the package.sh as of 120218f
2015-07-06 11:07:06 -05:00
Evan Phoenix 39c90dd879 Add package.sh script
These 2 scripts are adapted from the influxd versions. Diffing them
against the influxd versions will show very minor changes.
2015-06-18 11:32:37 -07:00