Files
wp-agentic-writer/downloads/agentic-writer-local-backend/stop-proxy.sh
Dwindi Ramadhana d2c10756ab Add AI writing assistant plugin with local backend, brave search, and image generation support
- Implement local backend AI provider with Ollama integration
- Add Brave Search API integration for real-time search suggestions
- Add image generation manager with multiple AI providers
- Create hybrid provider system with local/cloud fallback
- Add comprehensive settings UI with provider management
- Implement Gutenberg sidebar with writing assistance controls
- Add SEO schema generation for AI-generated content
- Multiple provider support: OpenRouter, local backend, Codex
2026-05-17 10:48:05 +07:00

22 lines
515 B
Bash
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
if [ -f proxy.pid ]; then
PID=$(cat proxy.pid)
if kill -0 $PID 2>/dev/null; then
kill $PID
rm proxy.pid
echo "🛑 Local Backend stopped (PID: $PID)"
else
echo "⚠️ No process found with PID: $PID"
rm proxy.pid
fi
else
# Fallback: kill by process name
pkill -f claude-proxy.js
if [ $? -eq 0 ]; then
echo "🛑 Stopped all claude-proxy processes"
else
echo " No claude-proxy processes running"
fi
fi