Susheel Kumar created SOLR-8686: ----------------------------------- Summary: Install Script hard codes the SOLR_ENV path in /etc/init.d/solr Key: SOLR-8686 URL: https://issues.apache.org/jira/browse/SOLR-8686 Project: Solr Issue Type: Bug Components: scripts and tools Affects Versions: 5.4.1 Reporter: Susheel Kumar
Until Solr-5.3.1 (that i am aware of), the install script would set the right SOLR_ENV path in /etc/init.d/solr which is passed as -d "Directory for live / writable Solr files..." but with solr-5.4.1 i see it always sets to /etc/default/solr.in.sh. Below is diff snippet of install_solr_service.sh of 5.3.1 vs 5.4.1 ---- sed_expr1="s#SOLR_INSTALL_DIR=.*#SOLR_INSTALL_DIR=$SOLR_EXTRACT_DIR/$SOLR_SERVICE#" < sed_expr2="s#SOLR_ENV=.*#SOLR_ENV=$SOLR_VAR_DIR/solr.in.sh#" < sed_expr3="s#RUNAS=.*#RUNAS=$SOLR_USER#" --- > sed_expr1="s#SOLR_INSTALL_DIR=.*#SOLR_INSTALL_DIR=\"$SOLR_EXTRACT_DIR/$SOLR_SERVICE\"#" > sed_expr2="s#SOLR_ENV=.*#SOLR_ENV=\"/etc/default/$SOLR_SERVICE.in.sh\"#" > sed_expr3="s#RUNAS=.*#RUNAS=\"$SOLR_USER\"#" -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org