openstack-ansible-ops/cluster_metrics/files/deploy_influxdbrelay.sh

9 lines
175 B
Bash
Executable File

#!/bin/bash
rm -rf /opt/influxdb-relay;
mkdir /opt/influxdb-relay;
export GOPATH=/opt/influxdb-relay/;
export GOROOT=/opt/go;
go get -u github.com/influxdata/influxdb-relay