2014-07-17 18:34:22 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-10-23 09:52:11 -04:00
|
|
|
echo "* Shutdown vagrant..."
|
2014-07-17 18:34:22 -04:00
|
|
|
for box in $(vagrant global-status|grep running|awk '{ print $1 }'); do vagrant halt $box; done
|
|
|
|
|
2018-10-23 09:52:11 -04:00
|
|
|
echo "* Shutdown docker..."
|
2016-01-16 15:17:31 -05:00
|
|
|
for machine in $(docker-machine ls -q); do docker-machine stop $machine; done
|
2016-07-21 09:58:20 -04:00
|
|
|
for container in $(docker ps -a -q); do docker stop $container; done
|
2016-01-16 15:17:31 -05:00
|
|
|
|
2018-10-23 09:52:11 -04:00
|
|
|
echo "* Stop running services..."
|
2017-08-07 11:11:28 -04:00
|
|
|
brew services stop --all
|
|
|
|
|
2018-10-23 09:52:11 -04:00
|
|
|
echo "* Kill tmux sessions..."
|
|
|
|
tmux kill-server
|
|
|
|
|
|
|
|
echo "* Uncommitted projects..."
|
2016-09-26 09:24:31 -04:00
|
|
|
mr -m status
|
2018-10-23 09:52:11 -04:00
|
|
|
|
|
|
|
echo "* Homesick status..."
|
|
|
|
homesick status
|