app-admin/logstash-bin: did not work with multiple configuration files (thanks to...
authorTomas Mozes <hydrapolic@gmail.com>
Tue, 8 Mar 2016 17:33:31 +0000 (18:33 +0100)
committerIan Delaney <idella4@gentoo.org>
Wed, 9 Mar 2016 14:23:02 +0000 (22:23 +0800)
Package-Manager: portage-2.2.27

app-admin/logstash-bin/files/logstash.initd

index a61395018b7f08c485bf37c52b1e5d755b37d2f7..0a844b9dd5913accaa17f31c653218ffcaa91683 100644 (file)
@@ -12,7 +12,7 @@ LS_OPEN_FILES="${LS_OPEN_FILES:-16384}"
 LS_HEAP_SIZE="${LS_HEAP_SIZE:-500m}"
 
 command="/opt/logstash/bin/logstash"
-command_args="agent --config ${LS_CONFDIR}/*.conf --log ${LS_LOGFILE} ${LS_OPTS}"
+command_args="agent --config ${LS_CONFDIR}/{*}.conf --log ${LS_LOGFILE} ${LS_OPTS}"
 extra_commands="checkconfig"
 command_background="true"
 start_stop_daemon_args="--nicelevel ${LS_NICE} \