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.29.0 script/restart.sh