Sha256: 07e30b4b37090964e44e1e02dad2c0977cadceafd53a673b15109a34c0d68419

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

if gem list foreman -i
then
  echo 'Foreman detected... starting server with Procfile'
  rerun --background foreman start
else
  echo 'Foreman not installed... starting server with rackup'
  rerun --background rackup
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hoboken-0.9.0 lib/hoboken/templates/server.sh