sexibytes/sexilog

seximenu not displaying correct elasticsearch/logstash status

Closed this issue · 0 comments

elasticsearch and logstash status are reversed each other in seximenu.sh.
current is:

stateelasticsearch=/etc/init.d/logstash status
statelogstash=/etc/init.d/elasticsearch status

but should be:

stateelasticsearch=/etc/init.d/elasticsearch status
statelogstash=/etc/init.d/logstash status

diff output if needed:

diff seximenu.sh seximenu.sh.bad
496,497c496,497
< stateelasticsearch=/etc/init.d/elasticsearch status
< statelogstash=/etc/init.d/logstash status

stateelasticsearch=/etc/init.d/logstash status
statelogstash=/etc/init.d/elasticsearch status