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_+6fjobxd9zhxt66fhaz...@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:
us...@infra.apache.org



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

Reply via email to