https://bugzilla.wikimedia.org/show_bug.cgi?id=21031

           Summary: lsearchd should "exec java ..." to optimize the number
                    of running daemon
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: easy, patch
          Severity: enhancement
          Priority: Normal
         Component: Lucene Search
        AssignedTo: [email protected]
        ReportedBy: [email protected]


lsearchd should "exec java ..." to optimize the number of running daemon like
this,

lsearchd:
    #!/bin/sh
    jardir=`dirname $0` # put your jar dir here!
   -java -Djava.rmi.server.codebase=file://$jardir/LuceneSearch.jar
-Djava.rmi.server.hostname=$HOSTNAME -jar $jardir/LuceneSearch.jar $*
   +exec java -Djava.rmi.server.codebase=file://$jardir/LuceneSearch.jar
-Djava.rmi.server.hostname=$HOSTNAME -jar $jardir/LuceneSearch.jar $*


It also help handling lsearchd daemon using "start-stop-daemon --stop" more
easier.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to