2014-07-17 18:34:22 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# shutdown vagrant boxes
|
|
|
|
for box in $(vagrant global-status|grep running|awk '{ print $1 }'); do vagrant halt $box; done
|
|
|
|
|
2016-01-16 15:17:31 -05:00
|
|
|
# shutdown docker machines
|
|
|
|
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
|
|
|
|
2014-07-17 18:34:22 -04:00
|
|
|
# kill tmux sessions
|
|
|
|
tmux kill-server
|
|
|
|
|
|
|
|
# quit apps
|
2015-07-22 10:24:08 -04:00
|
|
|
osascript -e 'quit app "atom"'
|
2014-07-17 18:34:22 -04:00
|
|
|
|
2017-08-07 11:11:28 -04:00
|
|
|
# stop services
|
|
|
|
brew services stop --all
|
|
|
|
|
2016-09-26 09:24:31 -04:00
|
|
|
# report repo status
|
|
|
|
mr -m status
|