legacy-knowledge-base
公開されました Jul. 2, 2025

LXC で検索サービスのスクリプトを自動化する

written-by

Giulianna Munoa

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Search サービスの curl コマンドを実行する必要があります
  • Curl コマンドは永続的ではありません。つまり、検索サービスが再起動した場合は、再度適用する必要があります。
  • このプロセスを自動化するには、curl コマンドをスクリプトとして追加する必要があります

環境

  • LXC 自己管理

解像度

  • 検索サービスで curl コマンドを自動化するには、次を実行します。

    • 適用する必要があるcurlステートメントを含む新しいファイル example.sh を作成します
    • ファイルを /search/configs/$[ENV]/scriptsに配置します。
    • 検索サービスをデプロイする

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base