[Bug 217368] sysutils/logstash5 problem with rc startup script

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 26 02:05:03 UTC 2017


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

            Bug ID: 217368
           Summary: sysutils/logstash5 problem with rc startup script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tj at FreeBSD.org
          Reporter: sam at sheridan.co.uk
          Assignee: tj at FreeBSD.org
             Flags: maintainer-feedback?(tj at FreeBSD.org)

With log stash you should be able to enter something such as:
logstash_config="/usr/local/etc/logstash/*.conf" 

which is able to import all *.conf config files, the current startup script in
/usr/local/etc/rc.d needs to be modified to allow this, otherwise you get
multiple errors about each file being an invalid command line option

modify:
/usr/local/etc/rc.d/logstash, line 85:
logstash_args="-f ${logstash_config} ${logstash_log_options} ${logstash_opts}"

to:
logstash_args="-f \"${logstash_config}\" ${logstash_log_options}
${logstash_opts}"

resolves this issue.

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


More information about the freebsd-ports-bugs mailing list