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


   The moment when I wrote this systemd service file I was running Solr 8, that 
is correct. I think it should work with Solr 9 as is.
   
   From my memory when working on updating the installer I think you should be 
able to run the updated installer and it shouldn't lose the old way. Because on 
systemd systems all SysV scripts are overtaken/"wrapped around" by systemd. So 
for example, even if the previous docs stated commands like `service solr 
start`, it should work with `systemctl start solr` as is.
   
   And you could try out a new installation of Solr using the installer `-s 
solr2` flag, for example. And then you could start the new service type with 
`systemctl start solr2` (of course you would need to stop the previous solr 
instance as they are running on the same port number).
   
   What I haven't tested is what happens when you run the installer without any 
flags on a system that has already Solr installed. As it should generate a 
solr.service file (thus having the same service name), but *i think* it would 
supplant the SysV init script. As in, if a systemd and SysV service exist with 
the same name the physical solr.service would precede the SysV one.


----------------------------------------------------------------
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