Commit Graph

6 Commits

Author SHA1 Message Date
Chris Mague 49ce86f0c0 fix USER and GROUP ordering in the init file to start the service 2016-01-07 11:01:36 -08:00
gotyaoi c938523cd5 Implementing LoadDirectory. 2015-10-21 12:00:22 -07: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
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