Skip to content

Commit

Permalink
Restart Redis
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Jan 12, 2015
1 parent efd2160 commit bfdd429
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mac
Expand Up @@ -88,6 +88,7 @@ brew_launchctl_restart() {
local domain="homebrew.mxcl.$name"
local plist="$domain.plist"

fancy_echo "Restarting %s ..." "$1"
mkdir -p "$HOME/Library/LaunchAgents"
ln -sfv "/usr/local/opt/$name/$plist" "$HOME/Library/LaunchAgents"

Expand Down Expand Up @@ -128,11 +129,9 @@ brew update

brew_install_or_upgrade 'git'
brew_install_or_upgrade 'postgres'

fancy_echo "Restarting Postgres ..."
brew_launchctl_restart postgresql

brew_launchctl_restart 'postgresql'
brew_install_or_upgrade 'redis'
brew_launchctl_restart 'redis'
brew_install_or_upgrade 'the_silver_searcher'
brew_install_or_upgrade 'vim'
brew_install_or_upgrade 'ctags'
Expand Down

0 comments on commit bfdd429

Please sign in to comment.