Skip to content

Instantly share code, notes, and snippets.

@hariharan-uno
Created October 14, 2015 06:20
Show Gist options
  • Save hariharan-uno/d5b94df7d949af02c0e0 to your computer and use it in GitHub Desktop.
Save hariharan-uno/d5b94df7d949af02c0e0 to your computer and use it in GitHub Desktop.
Shell script to run marksman with correct ports and nats in vagrant
HOSTIP=`netstat -rn | grep "^0.0.0.0 " | cut -d " " -f10`
/home/vagrant/recond -marksman=http://$HOSTIP:3000 -nats=tcp://$HOSTIP:4222 &
echo "recond started..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment