intdash Edge Agent 2 v1.5.x

intdash-agentctl config-file apply#

指定されたファイルから設定を読み込み、適用します。

現在の設定は破棄され、読み込んだファイルの内容により置き換えられます。 読み込んだファイルに記載されていなかった設定項目はデフォルト値に戻ります。

注釈

読み込まれた設定は現在使用中の設定ファイル(デフォルトでは /var/lib/intdash/agent.yaml 、ただし環境変数 AGENT_LIB_DIR が設定されている場合は ${AGENT_LIB_DIR}/agent.yaml )に書き込まれます。

利用方法

intdash-agentctl config-file apply [<subcommand options>] <config-file>

設定ファイルのパスを <config-file> に指定します。

注釈

このコマンドの機能は intdash-agentd config apply と同等です。

  • デーモン(intdash-agentd)が起動している場合は本コマンド intdash-agentctl config-file apply を使用します。

  • デーモンが起動していない場合は intdash-agentd config apply を使用します。

Subcommand Options

--help, -h

ヘルプを表示し、終了します。