diff --git a/Makefile b/Makefile index 5b919635b..40b90b7aa 100644 --- a/Makefile +++ b/Makefile @@ -603,7 +603,7 @@ lua-check-hammerspoon-dev: ## Run the Hammerspoon Lua check inside the Nix dev s ##@ Launchd Services .PHONY: launchctl -launchctl: launchctl-brew-upgrader launchctl-cliproxyapi launchctl-code-syncer launchctl-dotfiles-updater launchctl-neverssl-keepalive launchctl-ollama ## Restart all launchd agents. +launchctl: launchctl-brew-upgrader launchctl-cliproxyapi launchctl-cliproxyapi-backup launchctl-code-syncer launchctl-dotfiles-updater launchctl-neverssl-keepalive launchctl-ollama ## Restart all launchd agents. .PHONY: launchctl-brew-upgrader launchctl-brew-upgrader: ## Restart brew-upgrader launchd agent. @@ -621,6 +621,14 @@ launchctl-cliproxyapi: ## Restart cliproxyapi launchd agent. @launchctl load ~/Library/LaunchAgents/org.nix-community.home.cliproxyapi.plist @echo "✅ cliproxyapi restarted" +.PHONY: launchctl-cliproxyapi-backup +launchctl-cliproxyapi-backup: ## Restart cliproxyapi backup launchd agent. + @echo "🔄 Restarting cliproxyapi-backup..." + @launchctl unload ~/Library/LaunchAgents/org.nix-community.home.cliproxyapi-backup.plist 2>/dev/null || true + @sleep 3 + @launchctl load ~/Library/LaunchAgents/org.nix-community.home.cliproxyapi-backup.plist + @echo "✅ cliproxyapi-backup restarted" + .PHONY: launchctl-code-syncer launchctl-code-syncer: ## Restart code-syncer launchd agent. @echo "🔄 Restarting code-syncer..."