-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstop.sh
More file actions
executable file
·31 lines (25 loc) · 792 Bytes
/
Copy pathstop.sh
File metadata and controls
executable file
·31 lines (25 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# Clawdini Stop Script
set -e
echo "=== Clawdini Stop Script ==="
# Stop Clawdini server (tsx with index.ts)
if pgrep -f "tsx.*src/index.ts" > /dev/null 2>&1; then
echo "→ Stopping Server..."
pkill -f "tsx.*src/index.ts" || true
sleep 1
echo "✓ Server stopped"
else
echo "✓ Server not running"
fi
# Stop UI (vite for clawdini-ui - match by path)
if pgrep -f "apps/ui.*vite" > /dev/null 2>&1 || pgrep -f "clawdini.*vite" > /dev/null 2>&1; then
echo "→ Stopping UI..."
pkill -f "apps/ui" || true
sleep 1
echo "✓ UI stopped"
else
echo "✓ UI not running"
fi
# Note: We DO NOT stop OpenClaw Gateway as it's a shared service
echo "✓ OpenClaw Gateway left running (shared service)"
echo "=== All Clawdini services stopped ==="