Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for exists (0.18 sec)

  1. common/scripts/setup_env.sh

      while true; do
        rematch=${BASH_REMATCH[1]}
        add_KUBECONFIG_if_exists "$rematch"
        remainder="${BASH_REMATCH[2]}"
        if [[ ! "$remainder" =~ ([^:]*):(.*) ]]; then
          if [[ -n "$remainder" ]]; then
            add_KUBECONFIG_if_exists "$remainder"
            break
          fi
        fi
      done
    else
      add_KUBECONFIG_if_exists "$1"
    fi
    }
    
    KUBECONFIG=${KUBECONFIG:="$HOME/.kube/config"}
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/packaging/deb/init.d/fess

    			log_progress_msg "$DESC is not running but pid file exists, cleaning up"
    		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)
    Shell Script
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. src/packaging/rpm/init.d/fess

        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
    
        # Ensure that the PID_DIR exists (it is cleaned at OS startup time)
        if [ -n "$PID_DIR" ] && [ ! -e "$PID_DIR" ]; then
            mkdir -p "$PID_DIR" && chown "$FESS_USER":"$FESS_GROUP" "$PID_DIR"
    Shell Script
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
  4. bin/update_crds.sh

    fi
    
    git clone  "https://${REPO}" "${API_TMP}" && cd "${API_TMP}"
    git checkout "${SHA}"
    if [ ! -f "${API_TMP}/kubernetes/customresourcedefinitions.gen.yaml" ]; then
      echo "Generated Custom Resource Definitions file does not exist in the commit SHA ${SHA}. Not updating the CRD file."
      exit
    fi
    rm -f "${ROOTDIR}/manifests/charts/base/crds/crd-all.gen.yaml"
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. buildscripts/checkdeps.sh

    			echo "OSX version '${osx_host_version}' is not supported. Minimum supported version: ${OSX_VERSION}"
    			exit 1
    		fi
    		return
    		;;
    	*)
    		echo "OS '${KNAME}' is not supported. Supported OS: [Linux, FreeBSD, OpenBSD, NetBSD, Darwin, DragonFly]"
    		exit 1
    		;;
    	esac
    }
    
    assert_check_golang_env() {
    	if ! which go >/dev/null 2>&1; then
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. src/main/assemblies/files/fess.in.sh

    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dlog4j.skipJansi=true"
    
    # Causes the JVM to dump its heap on OutOfMemory.
    #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError"
    # The path to the heap dump location, note directory must exists and have enough
    # space for a full heap dump.
    #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:HeapDumpPath=$FESS_HOME/logs/heapdump.hprof"
    
    # Disables explicit GC
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:+DisableExplicitGC"
    
    Shell Script
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  7. bin/init.sh

      echo Error: curl is not installed or does not support https, wget is not installed. \
           Cannot download envoy. Please install wget or add support of https to curl.
      exit 1
    }
    
    # Downloads and extract an Envoy binary if the artifact doesn't already exist.
    # Params:
    #   $1: The URL of the Envoy tar.gz to be downloaded.
    #   $2: The full path of the output binary.
    #   $3: Non-versioned name to use
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/main/assemblies/files/generate-thumbnail

      convert -thumbnail ${image_size} "${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
      exit 1
    else
      echo "Unsupported type: ${cmd_type}"
      exit 1
    fi
    
    if [[ ! -f ${output_file} ]] ; then
      echo "Thumbnail is not created."
      exit 1
    Shell Script
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Jun 12 13:13:28 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  9. src/bootstrap.bash

    if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
    	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
    	exit 2
    fi
    
    forceflag=""
    if [ "$1" = "-force" ]; then
    	forceflag=-force
    	shift
    fi
    
    targ="../../go-${GOOS}-${GOARCH}-bootstrap"
    if [ -e $targ ]; then
    	echo "$targ already exists; remove before continuing"
    	exit 2
    fi
    
    unset GOROOT
    src=$(cd .. && pwd)
    echo "#### Copying to $targ"
    cp -Rp "$src" "$targ"
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/get_test_list.sh

    #
    # Usage: get_test_list.sh OUTPUT BAZEL_TEST_COMMAND...
    # Writes the list of tests that would be run from BAZEL_TEST_COMMAND to OUTPUT.
    # Hides all extra output and always exits with success for now.
    
    OUTPUT=$1
    shift
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1K bytes
    - Viewed (0)
Back to top