Skip to content

Commit

Permalink
📝 Updates services restart
Browse files Browse the repository at this point in the history
  • Loading branch information
jefftriplett committed Jun 25, 2024
1 parent 92f319f commit 391b30b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions home/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,19 @@ RICH_THEME := "dracula"
@homebrew-services:
brew services

@_homebrew-services-restart:
# -brew services restart skhd
# -brew services restart spacebar
# -brew services restart yabai
-brew services restart ollama
_homebrew-services-restart:
#!/bin/bash

# Get the list of started services
started_services=$(brew services list | awk '$2 == "started" {print $1}')

# Loop through each service and restart it
for service in $started_services; do
# echo "Restarting $service..."
brew services restart $service
done

# echo "All started services have been restarted."

@_homebrew-services-stop:
# -brew services stop yabai
Expand Down

0 comments on commit 391b30b

Please sign in to comment.