Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2020 05:12:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246822] security/wazuh-agent:  port doesn't have rc script for starting agent
Message-ID:  <bug-246822-7788-FmQy6gQqRF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246822-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246822-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246822

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

nice work, thank you!=20

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

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

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

If you use the variable one could think when changing name everything is fi=
ne,
but you function are not renamed if changing "name". I would just go for
wazuh_agent_start etc.=20

Opinions?=20

Best,
Michael

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246822-7788-FmQy6gQqRF>