Most Linux distros are using systemd to manage server processes. https://en.wikipedia.org/wiki/Systemd <https://en.wikipedia.org/wiki/Systemd>
wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jun 5, 2020, at 8:08 AM, Mark H. Wood <mw...@iupui.edu> wrote: > > On Thu, Jun 04, 2020 at 12:36:30PM -0400, Ryan W wrote: >> Does anyone have a script that checks if solr is running and then starts it >> if it isn't running? Occasionally my solr stops running even if there has >> been no Apache restart. I haven't been able to determine the root cause, >> so the next best thing might be to check every 15 minutes or so if it's >> running and run it if it has stopped. > > I've used Monit for things that must be kept running: > > https://mmonit.com/monit/ > > -- > Mark H. Wood > Lead Technology Analyst > > University Library > Indiana University - Purdue University Indianapolis > 755 W. Michigan Street > Indianapolis, IN 46202 > 317-274-0749 > www.ulib.iupui.edu