← 返回
未分类 中文

doctor-call

Diagnose and fix OpenClaw gateway issues. Auto-restart via systemd.
诊断并修复OpenClaw网关问题,通过systemd实现自动重启。
stigg86 stigg86 来源
未分类 clawhub v1.3.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 99
下载
💾 1
安装
1
版本
#auto-restart#diagnostics#gateway#latest#openclaw#repair

概述

Doctor Call

Diagnose and repair OpenClaw gateway issues automatically.

Usage

doctor-call check   → Run diagnostics
doctor-call fix     → Auto-repair + restart gateway if needed
doctor-call status  → Quick health check
doctor-call setup   → Enable systemd auto-restart (auto-restart on crash)
doctor-call remove  → Disable auto-restart

What it does

check - Runs openclaw doctor --lint for full diagnostics. Falls back to basic system checks if it hangs.

fix - First checks if gateway is running. If not, restarts it immediately. Then tries openclaw doctor --repair for config issues.

status - Shows if OpenClaw is running, disk space, memory, and whether auto-restart is enabled.

setup - Installs systemd timer that runs doctor-call fix every hour. This means OpenClaw auto-restarts if it crashes, even if you can't contact me.

remove - Removes the systemd auto-restart.

Auto-restart (key feature!)

doctor-call setup

This creates a systemd service + timer that:

  • Runs every 5 minutes
  • Auto-restarts OpenClaw if it's down
  • Works even when I can't be contacted
  • Survives Pi reboots

What it fixes

  • Gateway down → restarts with openclaw gateway start
  • Config issues → runs openclaw doctor --repair
  • Doctor hangs → uses system checks instead

Safety

  • Read-only by default (check/status)
  • Auto-repair only when you ask (fix)
  • Always reports what it found/did
  • Won't break anything - if repair fails, shows manual command

Example

doctor-call status
🩺 Doctor Call
📊 Status Check
✅ OpenClaw: Running
✅ Disk: 89% used
✅ Memory: 3.6GB free
✅ Auto-restart: Enabled
doctor-call setup
🔧 Setting up auto-restart via systemd...
✅ Auto-restart enabled!
• Service: /etc/systemd/system/openclaw-health.service
• Timer: runs every 5 minutes
• OpenClaw will auto-restart if it crashes

版本历史

共 1 个版本

  • v1.3.0 当前
    2026-06-07 06:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 471 📥 78,525
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 31,061
life-service

Premier League Scores

stigg86
通过ESPN API获取英超联赛实时比分、进球球员、犯规和直播频道信息。当用户询问英超比赛比分时使用。
★ 0 📥 495