From eaad33969db9966cefa68b441ef697125ff45129 Mon Sep 17 00:00:00 2001 From: Draniu Date: Mon, 20 Aug 2018 12:07:26 +0200 Subject: [PATCH] Added varnishstat --- mage2docker.plugin.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mage2docker.plugin.zsh b/mage2docker.plugin.zsh index 397b4a1..6e20a35 100644 --- a/mage2docker.plugin.zsh +++ b/mage2docker.plugin.zsh @@ -78,7 +78,7 @@ mage2docker () { docker logs -f $1 ;; bash) - docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u root $1 bash + docker exec -it q -u root $1 bash ;; bash-www) docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u www-data $1 bash @@ -116,6 +116,9 @@ mage2docker () { redis-flushall) docker exec -it $1 redis-cli flushall ;; + vst) + docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u root $1 varnishstat + ;; mage-log) docker exec -it -u www-data $1 tail -f var/log/$3 ;;