Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging: Added a command to start elasticsearch on bootup. #8600

Closed
wants to merge 1 commit into from

Conversation

tristanbob
Copy link
Contributor

No description provided.

@clintongormley clintongormley added >docs General docs changes :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts labels Nov 24, 2014
@clintongormley
Copy link

Is this command true for all debian and ubuntu systems? Or does it depend on which startup system is in use?

@clintongormley
Copy link

Also, if we're going to add these details for the apt package, would be good to do so for the RPMs as well.

@tristanbob
Copy link
Contributor Author

Yes, this command should work for all Debian based systems.

If the elasticsearch package maintainer changes the init script to
something else (like Upstart) then this would have to be re-evaluated.
With the current packages, this command is explicitly listed in the
installation output.

I am not sure of the correct commands for RPM distros, but this change is
under the APT section.

On Mon, Nov 24, 2014 at 12:08 PM, Clinton Gormley notifications@github.com
wrote:

Also, if we're going to add these details for the apt package, would be
good to do so for the RPMs as well.


Reply to this email directly or view it on GitHub
#8600 (comment)
.

Tristan Rhodes

@t-lo
Copy link

t-lo commented Dec 2, 2014

update-rc.d is specific to Debian / SystemV init. For the upcoming Debian 8 ("Jessie") - which will use systemd init - the corresponding command is systemctl enable elasticsearch.service.

For Red Hat / SysV init (deprecated, last used in RHEL 5 - RHEL 6 uses upstart, RHEL 7 uses systemd) the corresponding command would be chkconfig --add elasticsearch.

IOW the documentation addendum for Apt / Debian systems looks good :)

@jpountz
Copy link
Contributor

jpountz commented Dec 5, 2014

@tristanbob Merged thanks!
@t-lo Thanks for the note, I added some information about doing the same on RHEL/Fedora.

@clintongormley clintongormley changed the title Added a command to start elasticsearch on bootup. Packaging: Added a command to start elasticsearch on bootup. Dec 16, 2014
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >docs General docs changes Team:Delivery Meta label for Delivery team v1.3.7 v1.4.2 v1.5.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants