1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Patch for Solr 5.4.0 for RHEL 6 x86_64 startup script

Discussion in 'Solr' started by commorancy, Jan 20, 2016.

  1. commorancy

    commorancy New Member Member

    Please patch /etc/init.d/solr in the RPM for Solr 5.4.0. This might affect other RPM versions.

    Patch follows:
    Code:
    --- /tmp/solr    2016-01-20 00:17:06.909418147 -0600
    +++ /etc/init.d/solr    2016-01-19 23:53:06.833614083 -0600
    @@ -72,7 +72,7 @@
     esac
    
     if [ -n "$RUNAS" ]; then
    -  su -c $SOLR_INSTALL_DIR/bin/solr $SOLR_CMD" - $RUNAS
    +  su -c "$SOLR_INSTALL_DIR/bin/solr $SOLR_CMD" - $RUNAS
     else
       $SOLR_INSTALL_DIR/bin/solr $SOLR_CMD
     fi
    
    Thanks.
     
  2. sbagmeijer

    sbagmeijer Machine

    Last edited: Jan 20, 2016
  3. sbagmeijer

    sbagmeijer Machine

    New version with a up to date init.d script is now available.

    Thank you again for the report!
     

Share This Page