Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
4.2.0
-
None
Description
chkconfig being the recommended way to manage services in rhel, we should add support for it in the solr script.
What is needed is a comments block at the top of the file with some standard tags:
#!/bin/bash # # eZ Find init script for RHEL and CENTOS. # # chkconfig: - 64 36 # description: SOLR indexing server. # processname: solr # pidfile: /var/run/solr.pid
here 64/36 are the priorities for starting/stopping the process (apache is 80/20 iirc)