Skip to content

logstash.sh script (Running with init cookbook) missing $delay parameter value #88

@arrow0108

Description

@arrow0108

Hi,

Using logstash on a RHEL 6.4 host, In the logstash.sh script do_stop() function, there's the line:
checkpid $pid && sleep $delay &&

but $delay is not defined and we get:

sleep: missing operand
Try `sleep --help' for more information.

You can check the killproc function in /etc/init.d/functions as an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions