Created
October 12, 2020 08:26
-
-
Save miradnan/7b1738c17641823003bc59403e555f08 to your computer and use it in GitHub Desktop.
Apache Solr Service file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Apache SOLR | |
[Service] | |
Type=forking | |
User=solr | |
Environment=SOLR_INCLUDE=/etc/default/solr.in.sh | |
ExecStart=/opt/solr/bin/solr start | |
ExecStop=/opt/solr/bin/solr stop | |
Restart=on-failure | |
LimitNOFILE=65000 | |
LimitNPROC=65000 | |
TimeoutSec=180s | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment