Sha256: 71e6d2cd39f99486d2dfaba0369bf79b1850e027f643dbb60650db4f0f627848

Contents?: true

Size: 277 Bytes

Versions: 81

Compression:

Stored size: 277 Bytes

Contents

#/bin/bash

root_dir=$(cd "$(dirname "$0")/.." && pwd)
example_dir="${root_dir}/example"
APP_DIR="${APP_DIR:-${example_dir}}"

cd "${APP_DIR}"

if [ -f .pid ]; then
  pid=$(cat .pid)
  echo "Pid is ${pid}"
  kill $pid
  sleep 2
fi

bundle exec rackup &
pid=$!
echo $pid > .pid

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
pact_broker-2.47.0 script/restart.sh
pact_broker-2.46.0 script/restart.sh
pact_broker-2.45.0 script/restart.sh
pact_broker-2.44.0 script/restart.sh
pact_broker-2.43.0 script/restart.sh
pact_broker-2.42.0 script/restart.sh
pact_broker-2.41.0 script/restart.sh
pact_broker-2.40.0 script/restart.sh
pact_broker-2.39.0 script/restart.sh
pact_broker-2.38.1 script/restart.sh
pact_broker-2.38.0 script/restart.sh
pact_broker-2.37.0 script/restart.sh
pact_broker-2.36.1 script/restart.sh
pact_broker-2.36.0 script/restart.sh
pact_broker-2.35.0 script/restart.sh
pact_broker-2.34.0 script/restart.sh
pact_broker-2.33.0 script/restart.sh
pact_broker-2.32.0 script/restart.sh
pact_broker-2.31.0 script/restart.sh
pact_broker-2.30.0 script/restart.sh