Hi,
I am currently managing Solr with systemd.
However, systemd's Type=simple considers the process successful as soon as
it starts, so in order to ensure the success of the process after startup,
I am waiting until it is ready to accept http requests after startup.
The wait process is just a simple script that makes a request to
http://localhost:8983/solr until 200 OK is returned.

I am not particularly troubled by this specification, but I believe that
systemd has a type Type=notify, which can be used to make solr active when
it is ready. (I don't know how useful this would be, but if everyone is
implementing wait processing, it might be a little useful)

Are there any plans to support Type=notify in the future?
Or is it possible to hook the startup completion event from the plugin? If
possible, we are considering making this as a prototype and providing
feedback.

Thanks,

Taisuke

Reply via email to