Jason Rennie wrote:
On Tue, Aug 12, 2008 at 8:49 PM, Jon Drukman <[EMAIL PROTECTED]> wrote:

1. How do people deal with having solr start when system reboots, manage
the log output, etc.  Right now I run it manually under a unix 'screen'
command with a wrapper script that takes care of restarts when it crashes.
 That means that only my user can connect to it, and it can't happen when
the system starts up... But I don't see any other way to control the process
easily.


We use daemontools.  Restarts solr whenever it goes down (for whatever
reason) and directs output to a set of rotated log files.  Very handy for a
production environment.  A bit tricky to set, but solid once you have it in
place.

http://cr.yp.to/daemontools.html

*facepalm*

Duh. I should have thought of that. I'm a big fan of djbdns so I'm quite familiar with daemontools.

Thanks!

-jsd-

Reply via email to