stop

開発プロキシ インスタンスの実行を停止します。

概要

devproxy stop [options]

Options:
  --pid <pid>            Stop a specific instance
  --force                Forcefully terminate the process
  --output <format>      Output format: text|json (default: text)
  --log-level <level>    Logging level: trace|debug|information|warning|error
  -h, --help             Show help

使用方法

devproxy stop

引数

なし

オプション

名前 説明 使用できる値 デフォルト
--force グレースフル ストップ 信号を送信するのではなく、開発プロキシ プロセスを強制的に終了する なし なし
--log-level <loglevel> ログに記録するメッセージのレベル tracedebuginformationwarningerror information
--output <format> 構造化ログの出力形式 textjson text
--pid <pid> プロセス ID で特定の開発プロキシ インスタンスを停止する 整数 なし

注釈

(--as-system-proxy falseを使用して) 複数の開発プロキシ インスタンスを実行すると、--pidを使用せずに stop コマンドを実行すると、実行中のすべてのインスタンスが停止されます。 特定のインスタンスを停止するには、 --pid オプションを使用します。

グレースフル ストップが失敗した場合 (たとえば、API ポートが使用できないため)、 --force オプションを使用してプロセスを強制的に終了します。

こちらも参照ください