[Bug 246822] security/wazuh-agent: port doesn't have rc script for starting agent

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 29 05:12:09 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246822

--- Comment #1 from Michael Muenz <m.muenz at gmail.com> ---
Hi Felipe,

nice work, thank you! 

Two things:
: ${wazuh_agent_config:="/usr/local/etc/ossec-init.conf"}

The port installs an init config in /var/ossec/etc/ossec.conf, can you point to
ths one, please?

Second:
start_cmd="${name}_start"
stop_cmd="${name}_stop"
status_cmd="${name}_status"

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. 

Opinions? 

Best,
Michael

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list