Commit 441e91e317d136bde8ebff6fdbbeaf9214087688
1 parent
eacacb0c
Merged in from DEV trunk...
KTS-2549 "Document Indexer statistics is not returning 'documents in index'" Updated. There was an issue with the lucene server. the json structure was corrupted - a missing comma. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie KTS-2568 "Add scheduler service to Linux" Updated. Fixed script error. Committed By: Kevin Fourie Reviewed By: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@7508 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
7 additions
and
9 deletions
bin/luceneserver/ktlucene.jar
No preview for this file type
examples/linux/init/dmsctl.sh
| ... | ... | @@ -467,28 +467,26 @@ start_scheduler() { |
| 467 | 467 | fi |
| 468 | 468 | } |
| 469 | 469 | |
| 470 | -stop_xvfb() { | |
| 471 | -if [ $USEXVFB -eq 1 ]; then | |
| 470 | +stop_scheduler() { | |
| 472 | 471 | NO_EXIT_ON_ERROR=$1 |
| 473 | - is_xvfb_running | |
| 472 | + is_scheduler_running | |
| 474 | 473 | RUNNING=$? |
| 475 | 474 | |
| 476 | 475 | if [ $RUNNING -eq 0 ]; then |
| 477 | - echo "$0 $ARG: $XVFB_STATUS" | |
| 476 | + echo "$0 $ARG: $SCHEDULER_STATUS" | |
| 478 | 477 | if [ "x$NO_EXIT_ON_ERROR" != "xno_exit" ]; then |
| 479 | 478 | exit |
| 480 | 479 | else |
| 481 | 480 | return |
| 482 | 481 | fi |
| 483 | 482 | fi |
| 484 | - get_xvfb_pid | |
| 485 | - if killall $XVFBBIN ; then | |
| 486 | - echo "$0 $ARG: Xvfb stopped" | |
| 483 | + get_scheduler_pid | |
| 484 | + if killall $SCHEDULERBIN ; then | |
| 485 | + echo "$0 $ARG: schedulerstopped" | |
| 487 | 486 | else |
| 488 | - echo "$0 $ARG: Xvfb could not be stopped" | |
| 487 | + echo "$0 $ARG: scheduler could not be stopped" | |
| 489 | 488 | ERROR=4 |
| 490 | 489 | fi |
| 491 | -fi | |
| 492 | 490 | } |
| 493 | 491 | |
| 494 | 492 | help() { | ... | ... |