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.89.1 script/restart.sh
pact_broker-2.89.0 script/restart.sh
pact_broker-2.88.0 script/restart.sh
pact_broker-2.87.0 script/restart.sh
pact_broker-2.86.0 script/restart.sh
pact_broker-2.85.1 script/restart.sh
pact_broker-2.85.0 script/restart.sh
pact_broker-2.84.0 script/restart.sh
pact_broker-2.83.0 script/restart.sh
pact_broker-2.82.0 script/restart.sh
pact_broker-2.81.0 script/restart.sh
pact_broker-2.80.0 script/restart.sh
pact_broker-2.79.1 script/restart.sh
pact_broker-2.79.0 script/restart.sh
pact_broker-2.78.1 script/restart.sh
pact_broker-2.78.0 script/restart.sh
pact_broker-2.77.0 script/restart.sh
pact_broker-2.76.2 script/restart.sh
pact_broker-2.76.1 script/restart.sh
pact_broker-2.76.0 script/restart.sh