You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/01/18 11:54:53 UTC

[GitHub] [lucene-solr] mhitza commented on pull request #1435: SOLR-14410: Switch from SysV init script to systemd service file

mhitza commented on pull request #1435:
URL: https://github.com/apache/lucene-solr/pull/1435#issuecomment-762201796


   @epugh The main difference I see between this service file and the docker configuration is that the docker container starts the service in foreground mode. This is to be understood, as docker containers run single services. And also because running systemd within docker is pretty hairy and platform-specific (can be done only if the host system is another system that has systemd available, or at least cgroups that need to be mounted readonly mode within the container).
   
   When proposing this change we discussed on the mailing list, briefly, the option to start Solr in foreground mode (see [mailinglist thread](https://mail-archives.apache.org/mod_mbox/lucene-dev/202004.mbox/%3cCAFSzZzXS+zh1MrSCsjFtyXN0kOD_+6FJoBxd9Zhxt66fHaz6xg@mail.gmail.com%3e)) 
   
   Regarding testing, the only option I can think of is via configuration management (e.g. ansible) targeting a VM (because docker is not as straightforward, as mentioned before, but doable).
   
   @janhoy are you referring to the service file within this PR, or something else. As far as I know, all the common distros are running systemd, unless those peers are on old distros that are no longer maintained. And on systemd systems, there shouldn't be any extra package required to run this (except for the obvious JRE requirement for Solr itself)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org