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.75.0 script/restart.sh
pact_broker-2.74.1 script/restart.sh
pact_broker-2.74.0 script/restart.sh
pact_broker-2.73.0 script/restart.sh
pact_broker-2.72.0 script/restart.sh
pact_broker-2.71.0 script/restart.sh
pact_broker-2.70.0 script/restart.sh
pact_broker-2.69.0 script/restart.sh
pact_broker-2.68.1 script/restart.sh
pact_broker-2.68.0 script/restart.sh
pact_broker-2.67.0 script/restart.sh
pact_broker-2.66.0 script/restart.sh
pact_broker-2.65.0 script/restart.sh
pact_broker-2.64.0 script/restart.sh
pact_broker-2.63.0 script/restart.sh
pact_broker-2.62.0 script/restart.sh
pact_broker-2.61.0 script/restart.sh
pact_broker-2.60.1 script/restart.sh
pact_broker-2.60.0 script/restart.sh
pact_broker-2.59.2 script/restart.sh