5.6.3 Verifying the OpenSearch Service Starts Automatically

After you install the OpenSearch service and verify the installation, test to make sure the service starts automatically after you reboot the Linux server.

  1. Reboot the Linux server.

  2. Use this command to verify that the service has come up automatically.

    systemctl status OpenSearch

    This should give an output with the status “active (running),” as shown in bold font in this sample:

    opensearch.service - OpenSearch
       Loaded: loaded (/etc/systemd/system/opensearch.service; enabled; vendor preset: disabled)
       Active: active (running) since Tue 2020-09-01 22:24:38 PDT; 12s ago
         Docs: https://opensearch.org
    Main PID: 59416 (java)
        Tasks: 34
       Memory: 2.2G
       CGroup: /system.slice/opensearch.service