mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-01 21:52:02 +08:00
* Vendor event-forwarder plugin * fix tests + add Makefile + CI * lint * Fix broken test * use a separate go.mod * ignore event-handler in flaky tests + update go.mod * go mod tidy
15 lines
441 B
Bash
Executable File
15 lines
441 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#
|
|
# the directory where Teleport binaries will be located
|
|
#
|
|
BINDIR=/usr/local/bin
|
|
|
|
[ ! $(id -u) != "0" ] || { echo "ERROR: You must be root"; exit 1; }
|
|
cd $(dirname $0)
|
|
mkdir -p $BINDIR $DATADIR || exit 1
|
|
cp -f teleport-event-handler $BINDIR/ || exit 1
|
|
|
|
echo "Teleport Event Handler binaries have been copied to $BINDIR"
|
|
echo "See https://goteleport.com/docs/management/export-audit-events/fluentd/ for configuration information"
|