Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkData (0.14 sec)

  1. src/packaging/rpm/init.d/fess

       FESS_USER=$USER
    fi
    
    checkJava() {
        if [ -x "$JAVA_HOME/bin/java" ]; then
            JAVA="$JAVA_HOME/bin/java"
        else
            JAVA=`which java`
        fi
    
        if [ ! -x "$JAVA" ]; then
            echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
            exit 1
        fi
    }
    
    start() {
        checkJava
        [ -x $exec ] || exit 5
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/packaging/deb/init.d/fess

    # Check DAEMON exists
    test -x $DAEMON || exit 0
    
    checkJava() {
    	if [ -x "$JAVA_HOME/bin/java" ]; then
    		JAVA="$JAVA_HOME/bin/java"
    	else
    		JAVA=`which java`
    	fi
    
    	if [ ! -x "$JAVA" ]; then
    		echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
    		exit 1
    	fi
    }
    
    case "$1" in
      start)
    	checkJava
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top