openclaw daemon

Gatewayサービス管理コマンドのレガシーエイリアスです。

openclaw daemon ...openclaw gateway ...サービスコマンドと同じサービス制御機能にマップされます。

使い方

openclaw daemon status
openclaw daemon install
openclaw daemon start
openclaw daemon stop
openclaw daemon restart
openclaw daemon uninstall

サブコマンド

  • status: サービスのインストール状態を表示し、Gatewayのヘルスを診断
  • install: サービスをインストール(launchd/systemd/schtasks
  • uninstall: サービスを削除
  • start: サービスを開始
  • stop: サービスを停止
  • restart: サービスを再起動

共通オプション

  • status: --url, --token, --password, --timeout, --no-probe, --deep, --json
  • install: --port, --runtime <node|bun>, --token, --force, --json
  • ライフサイクル(uninstall|start|stop|restart): --json

補足:

  • statusはプローブ認証に設定済みの認証SecretRefを可能な場合に解決します。
  • Linuxのsystemdインストールでは、statusのトークンドリフトチェックにEnvironment=EnvironmentFile=の両方のユニットソースが含まれます。
  • トークン認証にトークンが必要でgateway.auth.tokenがSecretRef管理の場合、installはSecretRefが解決可能であることを検証しますが、解決済みのトークンをサービス環境メタデータに永続化しません。
  • トークン認証にトークンが必要で設定されたトークンSecretRefが未解決の場合、installは閉鎖的に失敗します。
  • gateway.auth.tokengateway.auth.passwordの両方が設定されていてgateway.auth.modeが未設定の場合、モードが明示的に設定されるまでinstallはブロックされます。

推奨

最新のドキュメントと使用例はopenclaw gatewayを参照してください。