I tried: <listener event="postCommit" class="solr.RunExecutableListener"> <str name="exe">snapshooter</str> <str name="dir">bin</str> <bool name="wait">true</bool> <arr name="args"> <str>arg1</str> <str>arg2</str> </arr> <arr name="env"> <str>MYVAR=val1</str> </arr> </listener>
However, it doesn't seem to work. I assumed that it default to the solrhome, but that doesn't seem to be the case... Is it defaulting to the jetty root? Or the conf dir? Thanks, Jacob