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
Lack of systemd init files in deb package #8493
Comments
Hello, I prepared a set of files (based on files in RPM package) needed to start elasticsearch with systemd under Debian jessie (testing) and was able to start it normally.
You should also check the content of /etc/default/elasticsearch for default values for your configuration, for example to change ES_HEAP_SIZE value. You also need to make all systemd exercises ones (as root or via sudo): systemd-tmpfiles --create elasticsearch.conf (to created a folder with proper permissions for PID file) After that elasticsearch should start automatically after reboot or you can start it manually via: Of course, I'm not sure that all above is errors free but it works for me. Alexandr |
Debian stable ("Wheezy") still uses sysv-init; "Jessie" is still in "testing" (i.e. not released), and thusly will not receive timely security updates until its release in 2015 (see https://www.debian.org/releases/jessie/). So, does elasticsearch support |
Hi, I can just say that in my experience official elasticsearch .deb package I have quite a simple elasticsearch cluster with two non-heavily-loaded Security updates for "Jessie" are done via the following repository record There are only 4 weeks till 2015, time goes fast :) Alexandr On Wed, Dec 3, 2014 at 1:22 PM, Thilo Fromm notifications@github.com
|
@abravorus Is there a generic way to build a Concerning sec updates, quoting from https://www.debian.org/releases/jessie/:
|
Hi Thilo, I do not know is it possible to build such a single .deb package. May be Keeping in mind that some other Linux distros are switched already to You are right about security updates for Debian testing. I've just noted Alexandr PS: Looks like GitHub web-site is blocked in Russia, I can answer via On Wed, Dec 3, 2014 at 2:37 PM, Thilo Fromm notifications@github.com
|
Ping @clintongormley does ES want two separate |
@abravorus Currently there are some improvements to the ES
Regards, |
@t-lo We'd definitely want to provide just a single .deb package, so supporting both in one would be awesome. |
Hi Thilo, I will test new .service file tomorrow and let you know. One note: There is no /etc/sysconfig folder in Debian (both <8 and >=8), I Alexandr On Wed, Dec 3, 2014 at 4:10 PM, Thilo Fromm notifications@github.com
|
@abravorus the /etc/default/elasticsearch file should be created by the package. weird that it doesn't in your case. |
@electrical I think @abravorus pointed out a problematic line in my (RPM specific) |
Richard, it's created, no problem. But proposed .service file uses Alexandr On Wed, Dec 3, 2014 at 4:24 PM, Richard Pijnenburg <notifications@github.com
|
Ahh i see. sorry. yeah, we will need to create a separate service file indeed. |
Thilo, exactly. Probably this is due to the difference in RPM and .deb Alexandr On Wed, Dec 3, 2014 at 4:34 PM, Thilo Fromm notifications@github.com
|
@abravorus thanks for pointing this out; I missed that :) |
Hi Thilo, I checked your .service file on one of my ES nodes under Debian 8. It Alexandr On Wed, Dec 3, 2014 at 4:10 PM, Thilo Fromm notifications@github.com
|
@abravorus Thanks for testing! |
Fixed via #8765 |
Great, thanks! Alexandr On Fri, Dec 5, 2014 at 2:30 PM, Adrien Grand notifications@github.com
|
Hi Thilo, Just to let you know. Alexandr |
@abravorus Heh :D Thanks again for testing! |
Hello,
Is it possible to add files which are needed to start the service with systemd in elasticsearch deb package?
This will allow to start "normally" elasticsearch under latest Debian-based Linux distributions which switched recently from system-V to systemd init system. As I understand such files (mostly elasticsearch.service) are included already in RPM packages and they have to be just slightly modified.
Thanks,
Alexandr
The text was updated successfully, but these errors were encountered: