From 6de77cd0a4e2b040b5a98dde3e463865851e2878 Mon Sep 17 00:00:00 2001 From: Marko Kaznovac <kaznovac@users.noreply.github.com> Date: Thu, 5 Oct 2017 16:59:09 +0200 Subject: [PATCH] Fix solr supervisor run command Update solr run configuration command to run solr in foreground, otherwise supervisor thinks that running the process failed: solr FATAL Exited too quickly (process log may have details) Supervisor tries to restart the process a few times (without success as port has been taken) and then gives up reporting that process has failed although the solr is running, one also cannot stop solr thru supervisor as it thinks that the process is already down. Note: in this state one cannot stop solr thru supervisor. --- manifests/solr/install.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/solr/install.pp b/manifests/solr/install.pp index b526034..8ced247 100644 --- a/manifests/solr/install.pp +++ b/manifests/solr/install.pp @@ -44,7 +44,7 @@ $path = "${destination}/solr-${version}/bin" supervisord::program { 'solr': - command => "${path}/solr start -p ${settings['port']}", + command => "${path}/solr start -f -p ${settings['port']}", priority => '100', user => 'root', autostart => true,