説明
Hi,
I was trying to install logstash on Amazon Linux 2. After installing it, I couldn't start/enable the service. After some debugging, I noticed the systemd configuration installed by /usr/share/logstash/bin/system-install. However, I do my tests and development mostly on AWS t3.nano and this binary is memory intensive and won't work on low memory.
The exit code could have been checked in here https://github.com/elastic/logstash/blob/master/pkg/centos/after-install.sh#L8 which could tell yum something has gone wrong. I could raise a PR for that, but, in that case, it could be impossible to install the package successfully. Or system-install can be changed by a/set of bash script(s) but I can't see the whole picture by myself that I could contribute with a PR.
- Version: 7.10.2
- Operating System: Amazon Linux 2
- Config File (if you have sensitive info, please remove it):
- Sample Data:
- Steps to Reproduce:
- Install logstash on a low memory VM, Computer etc