Skip to content

Instantly share code, notes, and snippets.

@jgmize jgmize/watch-app
Created Oct 12, 2015

Embed
What would you like to do?
#!/bin/bash
while true; do
sleep 1;
date;
fleetctl list-units| grep $1;
for s in $(etcdctl ls /deis/services/$1); do
echo $s $(etcdctl get $s);
done;
docker exec deis-router cat /opt/nginx/conf/nginx.conf | awk "/upstream $1/,/}/"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.