Skip to content

Commit

Permalink
Added varnishstat
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamHyski authored Aug 20, 2018
1 parent ff6ac3b commit eaad339
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mage2docker.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
;;
Expand Down

0 comments on commit eaad339

Please sign in to comment.