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.59.1 script/restart.sh
pact_broker-2.59.0 script/restart.sh
pact_broker-2.58.3 script/restart.sh
pact_broker-2.58.2 script/restart.sh
pact_broker-2.58.0 script/restart.sh
pact_broker-2.57.0 script/restart.sh
pact_broker-2.56.1 script/restart.sh
pact_broker-2.56.0 script/restart.sh
pact_broker-2.55.0 script/restart.sh
pact_broker-2.54.0 script/restart.sh
pact_broker-2.53.0 script/restart.sh
pact_broker-2.52.2 script/restart.sh
pact_broker-2.52.1 script/restart.sh
pact_broker-2.52.0 script/restart.sh
pact_broker-2.51.0 script/restart.sh
pact_broker-2.50.1 script/restart.sh
pact_broker-2.50.0 script/restart.sh
pact_broker-2.49.0 script/restart.sh
pact_broker-2.48.0 script/restart.sh
pact_broker-2.47.1 script/restart.sh