lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Hubold (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-12737) Let Solr init script create SOLR_PID_DIR
Date Wed, 05 Sep 2018 14:49:00 GMT
Andreas Hubold created SOLR-12737:
-------------------------------------

             Summary: Let Solr init script create SOLR_PID_DIR
                 Key: SOLR-12737
                 URL: https://issues.apache.org/jira/browse/SOLR-12737
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: scripts and tools
    Affects Versions: 7.4, 6.6.5
         Environment: CentOS 7.5
            Reporter: Andreas Hubold


It would be great if the Solr init script could create the configured SOLR_PID_DIR with permissions
for the Solr user, if it doesn't exist.

The use case is to store the PID file for the Solr service in a directory below the /run directory,
which is typically mounted as tmpfs file system and empty after reboot. For example, with
"{{SOLR_PID_DIR=/run/solr}}" in solr.in.sh, Solr will be unable to write its PID file after
reboot because the solr subdirectory does not exist.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message