Skip to content

Commit

Permalink
add logsene only install script for CoreOS
Browse files Browse the repository at this point in the history
  • Loading branch information
megastef committed May 26, 2016
1 parent 37278aa commit 74694c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions coreos/install_logsene_service.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
if [[ -n "$1" && -n "$2" ]] ; then
export LOGSENE_TOKEN=$2
export LOGSENE_GATEWAY_PORT=$3
export LOGSENE_TOKEN=$1
export LOGSENE_GATEWAY_PORT=$2
etcdctl set /sematext.com/myapp/logsene/token $LOGSENE_TOKEN
etcdctl set /sematext.com/myapp/logsene/gateway_port $LOGSENE_GATEWAY_PORT

wget https://raw.githubusercontent.com/sematext/sematext-agent-docker/master/coreos/sematext-agent.service
fleetctl load sematext-agent.service; fleetctl start sematext-agent.service
wget https://raw.githubusercontent.com/sematext/sematext-agent-docker/master/coreos/logsene.service
Expand Down

0 comments on commit 74694c2

Please sign in to comment.