Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve execution modes for each platform #362

Open
1 of 5 tasks
sdvendramini opened this issue Nov 28, 2024 · 1 comment
Open
1 of 5 tasks

Improve execution modes for each platform #362

sdvendramini opened this issue Nov 28, 2024 · 1 comment
Assignees
Labels

Comments

@sdvendramini
Copy link
Member

sdvendramini commented Nov 28, 2024

Description

The goal of this task is to test and implement the necessary changes to run the new agent in the foreground on the Windows platform. Additionally, the logic for creating the wazuh-agent.lock file, as implemented on Unix systems, will be reviewed to determine its applicability to Windows. The feasibility of adopting the RAII style for managing the lock file will also be analyzed. Finally, the behavior of launchctl on macOS will be verified to ensure the proper functioning of the agent service.

Tasks

  • Windows

    • Implement the required changes to run the agent in the foreground.
    • Determine if the use of wazuh-agent.lock file should be applied to Windows.
  • Unix

    • Evaluate the feasibility of adopting the RAII (Resource Acquisition Is Initialization) style for the creation and deletion of the wazuh-agent.lock file.
  • macOS

    • Verify the behavior of launchctl load and launchctl unload commands on macOS.
    • Ensure the agent service functions correctly when using these commands.
@sdvendramini sdvendramini changed the title Improve execution modes on Windows Improve execution modes on Windows and Macos Nov 28, 2024
@sdvendramini sdvendramini changed the title Improve execution modes on Windows and Macos Improve execution modes on Windows and macOS Nov 28, 2024
@sdvendramini sdvendramini changed the title Improve execution modes on Windows and macOS Improve execution modes on each platform Nov 28, 2024
@sdvendramini sdvendramini changed the title Improve execution modes on each platform Improve execution modes for each platform Nov 28, 2024
@wazuhci wazuhci moved this to In progress in Release 5.0.0 Jan 7, 2025
@aritosteles
Copy link
Contributor

Update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In progress
Development

No branches or pull requests

2 participants