19 lines · 388 B · Shell
RawDownload
#!/usr/bin/env bashset -euo pipefail ROOT="$(cd "$(dirname "$0")/.." && pwd)"PID_FILE="${VLLM_STUDIO_PID_FILE:-$ROOT/data/controller.pid}" if [ ! -f "$PID_FILE" ]; then  echo "Controller not running."  exit 1fi PID="$(cat "$PID_FILE")"if kill -0 "$PID" 2>/dev/null; then  echo "Controller running (pid: $PID)"  exit 0fi echo "Controller not running (stale pid: $PID)"exit 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t