[Bug 271376] security/wazuh-agent: Typo underscore instead of dash in pkg-message

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 May 2023 07:58:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271376

            Bug ID: 271376
           Summary: security/wazuh-agent: Typo underscore instead of dash
                    in pkg-message
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: lambert@sanesecurityguy.com
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

Step 5 in
https://cgit.freebsd.org/ports/tree/security/wazuh-agent/files/pkg-message.in
instructs the user to run:
`service wazuh_agent start`

Which then throws the error:
```
wazuh_agent does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
```

And that's because the file created under `/usr/local/etc/rc.d` is actually
`wazuh-agent`, so the correct command is:
`service wazuh-agent start`

Just change that one underscore in `service wazuh_agent start` to a dash and I
think that's all there is to fix.

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