initial attempt at plugins

This commit is contained in:
Jeff Lindsay committed 2013-06-30 10:37:32 -05:00
1 parent c08f3233e9
commit 17953fc5a0
7 files changed
+55 -21

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
set -e; case "$1" in
logs)
CONTAINER=$(</home/git/$2/CONTAINER)
docker logs $CONTAINER | tail -n 100
;;
url)
echo "http://$(< "/home/git/$2/HOSTNAME")"
;;
test)
echo "Hello"
echo $2 $3 $4
;;
esac