Created attachment 214993 [details]
Port does not have rc script for starting agent.
The patch attached provides it.
nice work, thank you!
The port installs an init config in /var/ossec/etc/ossec.conf, can you point to ths one, please?
If you use the variable one could think when changing name everything is fine, but you function are not renamed if changing "name". I would just go for wazuh_agent_start etc.
Regarding "wazuh_agent_config", after adding the traditional stuff, the configuration file is not used by the agent at all. Initially I saw the warning when starting, but I guess as it is not used it can just be removed.
Shall I remove of change it to the other name?
Fixing the name variable.
Just remove it (ossec-control takes care of it) and adjust the variables :)
Created attachment 215025 [details]
Added proposed changes.
Also added a documentation link after the package is installed.
Looks good, thank you :)
Is there something additional needed? I don't see it upstream (yet) to close this one.