-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implement wazuh agent daemon mode #178
base: enhancement/140-daemon-mode
Are you sure you want to change the base?
Implement wazuh agent daemon mode #178
Conversation
b1331ac
to
8f38f93
Compare
501b283
to
f294c8e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The specifics of the daemonization look good! yet I think we should think a bit further how we are separating code. Having header files that are platform specific in the public include
folder is a hint that something can be improved.
d4f3f98
to
1708bb5
Compare
63e91df
to
00c514b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some additional comments. The one that looks like a must fix is the change in the vcpkg
submodule hash.
Also, if possible, some commits are doing more than what the commit message states and some fixes could be made at the point what they are fixing was introduced.
std::string password; | ||
}; | ||
|
||
class AgentRegistration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't you referring to the UnixDaemon
class?
71c18c5
to
3d64627
Compare
Added support for start, stop, restart and status commands
Required for systemd daemon control
3d64627
to
c7ccdbb
Compare
Description
This PR aims to make wazuh-agent run in the background and support CLI commands start, status and stop.