Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for eq (0.14 sec)

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

    		start-stop-daemon --stop --pidfile "$PID_FILE" \
    			--user "$FESS_USER" \
    			--quiet \
    			--retry forever/TERM/20 > /dev/null
    		if [ $? -eq 1 ]; then
    			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
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. buildscripts/verify-healing.sh

    	pid2=$!
    	disown $pid2
    
    	"${MINIO[@]}" --address ":$((start_port + 3))" $args >"${WORK_DIR}/dist-minio-server3.log" 2>&1 &
    	pid3=$!
    	disown $pid3
    
    	sleep "$1"
    
    	[ ${first_time} -eq 0 ] && upload_objects $start_port
    
    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/dist-minio-server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  3. common/scripts/setup_env.sh

    parse_KUBECONFIG "${KUBECONFIG}"
    if [[ "${FOR_BUILD_CONTAINER:-0}" -eq "1" ]]; then
      KUBECONFIG="${container_kubeconfig%?}"
    fi
    
    # LOCAL_OUT should point to architecture where we are currently running versus the desired.
    # This is used when we need to run a build artifact during tests or later as part of another
    # target.
    if [[ "${FOR_BUILD_CONTAINER:-0}" -eq "1" ]]; then
      # Override variables with container specific
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/packaging/rpm/init.d/fess

        if [ -n "$pid" ]; then
            echo $pid > "$pidfile"
        fi
        echo
        [ $retval -eq 0 ] && touch $lockfile
        return $retval
    }
    
    stop() {
        echo -n $"Stopping $prog: "
        # stop it here, often "killproc $prog"
        killproc -p $pidfile -d 20 $prog
        retval=$?
        echo
        [ $retval -eq 0 ] && rm -f $lockfile
        return $retval
    }
    
    restart() {
        stop
        start
    }
    
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
  5. .github/workflows/multipart/migrate.sh

    max_wait_attempts=30
    wait_interval=5
    
    attempt=1
    while true; do
    	diff <(./mc admin group info site1 site-replication-issue-group) <(./mc admin group info site2 site-replication-issue-group)
    
    	if [[ $? -eq 0 ]]; then
    		echo "Outputs are consistent."
    		break
    	fi
    
    	remaining_attempts=$((max_wait_attempts - attempt))
    	if ((attempt >= max_wait_attempts)); then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-oidc.sh

    	exit_1
    fi
    
    ./mc admin policy remove minio3 projecta
    
    sleep 10
    ./mc admin policy info minio1 projecta
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio2 projecta
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy create minio1 projecta ./docs/site-replication/rw.json
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. bin/retry.sh

          # we cannot display
          set -o pipefail; "$@" 2>&1 | tee "${tmpFile}"
        fi
        # shellcheck disable=SC2181
        if [[ $? == 0 ]]; then
          break
        fi
        if ! grep -Eq "${failureRegex}" "${tmpFile}"; then
          fail "Unexpected failure"
        fi
        if [[ $n -lt $max ]]; then
          ((n++))
          echo "Command failed. Attempt $n/$max:"
        else
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  8. common/scripts/check_clean_repo.sh

        [ -n "${JOB_NAME}" ] && [ -n "${BUILD_ID}" ]
        IN_PROW="$?"
    
        # Don't persist large diffs (30M+) on CI
        LARGE_FILE="$(find "${ARTIFACTS}" -name "${PATCH_NAME}" -type 'f' -size +30M)"
        if [ "${IN_PROW}" -eq 0 ] && [ -n "${LARGE_FILE}" ]; then
          rm "${PATCH_OUT}"
          echo "WARNING: patch file was too large to persist ($(du -h "${PATCH_OUT}"))"
          return 0
        fi
        outName="artifacts/${PATCH_OUT#"${ARTIFACTS}"/}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 11 22:57:12 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. buildscripts/disable-root.sh

    export MC_HOST_minioadm=http://minioadmin:minioadmin@localhost:9100/
    
    ./mc ls minioadm/
    
    ./mc admin config set minioadm/ api root_access=off
    
    sleep 3s # let things settle a little
    
    ./mc ls minioadm/
    if [ $? -eq 0 ]; then
    	echo "listing succeeded, 'minioadmin' was not disabled"
    	exit 1
    fi
    
    set -e
    
    killall -9 minio
    
    export MINIO_API_ROOT_ACCESS=on
    for ((i = 0; i < $((nr_servers)); i++)); do
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 16 09:28:06 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. docs/distributed/decom.sh

    count=0
    until $(./mc admin decom status myminio/ | grep -q Complete); do
    	echo "waiting for decom to finish..."
    	count=$((count + 1))
    	if [ ${count} -eq 120 ]; then
    		./mc cat /tmp/expanded_*.log
    	fi
    	sleep 1
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top