Skip to content

Init script can't start #390

@spuder

Description

@spuder

The init script provided in the cookbook appears to be different than the one in the repo.
Adding this to the cookbook causes elasticsearch to not start

elasticsearch_service 'elasticsearch' do
  #instance_name 'foobar'
  service_actions [:enable, :start]
end
root@default-ubuntu-1404:~# service elasticsearch status
elasticsearch not running
root@default-ubuntu-1404:~# service elasticsearch start
PID file found in /usr/local/var/run/default_ubuntu_1404.pid
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Starting Elasticsearch...start-stop-daemon: unable to stat /usr/local/bin/elasticsearch (No such file or directory)
 [OK]

This is based off of the examples in the tests directory and the readme

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions