Bug 217368 - sysutils/logstash5 problem with rc startup script
Summary: sysutils/logstash5 problem with rc startup script
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-26 02:05 UTC by Sam
Modified: 2019-08-13 16:15 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (tj)


Attachments
svn-diff-logstash5 (481 bytes, patch)
2019-08-13 16:14 UTC, Walter Schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam 2017-02-26 02:05:03 UTC
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.
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-23 01:02:35 UTC
ping!
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-02-24 05:35:43 UTC
Fix included in update Bug #225665.
Comment 3 Rene Ladan freebsd_committer 2018-11-06 21:42:47 UTC
Maintainer reset.
Comment 4 Walter Schwarzenfeld freebsd_triage 2019-08-13 16:14:28 UTC
Created attachment 206490 [details]
svn-diff-logstash5
Comment 5 Walter Schwarzenfeld freebsd_triage 2019-08-13 16:15:39 UTC
Kurt or Rene, please commit "this little nothing" ..... Seems everybody overlooked it.