Skip to content

Commit 765cc32

Browse files
committed
doc/installation: use --bindir on td-agent v3 RPM/DEB
Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
1 parent 1fdc111 commit 765cc32

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

doc/installation.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,18 @@ $ fluent-tailcheck --help
6161
### RPM/DEB (Linux)
6262

6363
```console
64-
$ sudo td-agent-gem install fluent-tail_checker
64+
$ sudo td-agent-gem install fluent-tail_checker --bindir /opt/td-agent/embedded/bin
6565
```
6666

6767
Then, you can use the command as follows.
6868

6969
```console
70-
$ /opt/td-agent/embedded/lib/ruby/gems/2.4.0/bin/fluent-tailcheck --help
70+
$ /opt/td-agent/embedded/bin/fluent-tailcheck --help
7171
```
7272

73+
Note: On td-agent v3, you need to specify `--bindir /opt/td-agent/embedded/bin` to install the executable under `/opt/td-agent/embedded/bin`.
74+
Without this, the executable will be installed under `/opt/td-agent/embedded/lib/ruby/gems/2.4.0/bin/`.
75+
7376
### .msi (Windows)
7477

7578
`Td-agent Command Prompt` with Administrator privilege:

0 commit comments

Comments
 (0)