Skip to content

Commit

Permalink
Merge pull request #7498 from wazuh/enhancement/6359-improve-on-instr…
Browse files Browse the repository at this point in the history
…uctions-on-how-to-install-and-uninstall-the-wazuh-macos-agent

Use launchctl to start and stop macos agent
  • Loading branch information
javimed authored Jul 11, 2024
2 parents c2704fb + d2a1f8c commit 12ee5de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion source/installation-guide/uninstalling-wazuh/agent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Follow these steps to uninstall the Wazuh agent from your macOS endpoint.

.. code-block:: console
# /Library/Ossec/bin/wazuh-control stop
# launchctl unload /Library/LaunchDaemons/com.wazuh.agent.plist
#. Remove the ``/Library/Ossec/`` folder.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The agent runs on the endpoint you want to monitor and communicates with the Waz

.. code-block:: console
# /Library/Ossec/bin/wazuh-control start
# launchctl load /Library/LaunchDaemons/com.wazuh.agent.plist
The installation process is now complete, and the Wazuh agent is successfully deployed and running on your macOS endpoint.
Expand All @@ -73,7 +73,7 @@ The agent runs on the endpoint you want to monitor and communicates with the Waz

.. code-block:: console
# sudo /Library/Ossec/bin/wazuh-control start
# launchctl load /Library/LaunchDaemons/com.wazuh.agent.plist
The installation process is now complete, and the Wazuh agent is successfully installed on your macOS endpoint. The next step is to register and configure the agent to communicate with the Wazuh server. To perform this action, see the :doc:`Wazuh agent enrollment </user-manual/agent/agent-enrollment/index>` section.

Expand Down
4 changes: 2 additions & 2 deletions source/migration-guide/files-backup/restoring/wazuh-agent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Perform the steps below to restore Wazuh agent files on a macOS endpoint.

.. code-block:: console
# /Library/Ossec/bin/wazuh-control stop
# launchctl unload /Library/LaunchDaemons/com.wazuh.agent.plist
#. Restore Wazuh agent data, certificates, and configuration files:

Expand All @@ -204,7 +204,7 @@ Perform the steps below to restore Wazuh agent files on a macOS endpoint.

.. code-block:: console
# /Library/Ossec/bin/wazuh-control start
# launchctl load /Library/LaunchDaemons/com.wazuh.agent.plist
Verifying data restoration
^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 12ee5de

Please sign in to comment.