← 返回
未分类

doctor-call

Diagnose and fix OpenClaw gateway issues. Auto-restart via systemd.
Diagnose and fix OpenClaw gateway issues. Auto-restart via systemd.
yjkj999999
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 17
下载
💾 0
安装
1
版本
#latest

概述

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.0.0 从ClawHub迁移发布 当前
    2026-06-07 12:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

agnes-image-gen

user_15292d5a
使用 Agnes AI 的图片生成模型生成图片,支持文生图(agnes-image-2.1-flash)和图生图(agnes-image-2.0-flash)。支持自定义 API Key,用户可使用自己的 Agnes Key。优化重点:降低
★ 1 📥 243
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,037
it-ops-security

OpenClaw Backup

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