Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for _exit (0.18 sec)

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

    rh_status_q() {
        rh_status >/dev/null 2>&1
    }
    
    
    case "$1" in
        start)
            rh_status_q && exit 0
            $1
            ;;
        stop)
            rh_status_q || exit 0
            $1
            ;;
        restart)
            $1
            ;;
        reload)
            rh_status_q || exit 7
            $1
            ;;
        force-reload)
            force_reload
            ;;
        status)
            rh_status
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/fess/exec/Crawler.java

                } else if (logger.isInfoEnabled()) {
                    logger.info("Crawler is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("Crawler does not work correctly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (commandThread != null && commandThread.isAlive()) {
                    commandThread.interrupt();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  3. src/test/resources/before_script.sh

        break
      else
        error_count=$((error_count + 1))
      fi
      if [[ ${error_count} -ge 60 ]] ; then
        echo "Fess is not available."
        cat ${temp_log_file} ./fess-*/logs/*.log
        exit 1
      fi
      sleep 1
    done
    
    pushd /tmp >/dev/null
    git clone https://github.com/codelibs/fess-testdata.git
    popd >/dev/null
    
    cat ${temp_log_file} ./fess-*/logs/*.log
    curl -s "http://localhost:9201/_cat/indices?v"
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Feb 10 03:25:34 GMT 2024
    - 863 bytes
    - Viewed (0)
  4. src/packaging/common/scripts/postinst

            IS_UPGRADE=false
        ;;
        2)
            # If $1=1 this is an upgrade
            IS_UPGRADE=true
        ;;
    
        *)
            echo "post install script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    if [ "x$IS_UPGRADE" != "xtrue" ]; then
        if command -v systemctl >/dev/null; then
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/Constants.java

        public static final String DEFAULT_JOB_TARGET = "all";
    
        public static final String DEFAULT_JOB_SCRIPT_TYPE = "groovy";
    
        public static final int EXIT_OK = 0;
    
        public static final int EXIT_FAIL = 1;
    
        public static final String DCF = "dcf";
    
        public static final String ALL_LANGUAGES = "all";
    
        public static final String INVALID_NUMERIC_PARAMETER = "-1";
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/main/assemblies/files/fess

    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
    
    if [ -z "$FESS_CLASSPATH" ]; then
        echo "You must set the FESS_CLASSPATH var" >&2
        exit 1
    fi
    
    # Special-case path variables.
    case `uname` in
        CYGWIN*)
            FESS_CLASSPATH=`cygpath -p -w "$FESS_CLASSPATH"`
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  7. src/main/assemblies/files/fess.bat

            )
    	)
    	
        IF "x!params!" NEQ "x" (
    		GOTO loop
    	)
    )
    
    SET HOSTNAME=%COMPUTERNAME%
    
    CALL "%~dp0fess.in.bat"
    IF ERRORLEVEL 1 (
    	IF NOT DEFINED nopauseonerror (
    		PAUSE
    	)
    	EXIT /B %ERRORLEVEL%
    )
    
    "%JAVA_HOME%\bin\java" %FESS_JAVA_OPTS% !newparams! -cp "%FESS_CLASSPATH%" "org.codelibs.fess.FessBoot"
    
    Batch File
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun May 24 22:24:52 GMT 2020
    - 796 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("ThumbnailGenerator: Exit Code={} - Process Output:\n{}", exitValue, it.getOutput());
                }
                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. src/packaging/common/scripts/postrm

            REMOVE_USER_AND_GROUP=true
        ;;
        1)
            # If $1=1 this is an upgrade
            IS_UPGRADE=true
        ;;
    
        *)
            echo "post remove script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    # Sets the default values for fess variables used in this script
    FESS_USER="${packaging.fess.user}"
    FESS_GROUP="${packaging.fess.group}"
    PID_DIR="${packaging.fess.pid.dir}"
    
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 2.2K bytes
    - Viewed (0)
  10. src/packaging/deb/init.d/fess

    		elif [ $? -eq 3 ]; then
    			PID="`cat $PID_FILE`"
    			log_failure_msg "Failed to stop $DESC (pid $PID)"
    			exit 1
    		fi
    		rm -f "$PID_FILE"
    	else
    		log_progress_msg "(not running)"
    	fi
    	log_end_msg 0
    	;;
      status)
    	status_of_proc -p $PID_FILE fess fess && exit 0 || exit $?
        ;;
      restart|force-reload)
    	if [ -f "$PID_FILE" ]; then
    		$0 stop
    		sleep 1
    	fi
    	$0 start
    	;;
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top