Sha256: dc27882fdd7f307cec6eea24b82e6dbe6e415a1ede80f68e7bca90b6bbef21df

Contents?: true

Size: 618 Bytes

Versions: 59

Compression:

Stored size: 618 Bytes

Contents

#!/bin/bash

# on system boot, and root have no rbenv installed,
#   after start-stop-daemon switched to current user, we have to init rbenv
if [ -d "$HOME/.rbenv/bin" ]; then
  PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"
  eval "$(rbenv init -)"
elif [ -d "/usr/local/rbenv/bin" ]; then
  PATH="/usr/local/rbenv/bin:/usr/local/rbenv/shims:$PATH"
  eval "$(rbenv init -)"
elif [ -f /usr/local/rvm/scripts/rvm ]; then
  source /etc/profile.d/rvm.sh
elif [ -f "$HOME/.rvm/scripts/rvm" ]; then
  source "$HOME/.rvm/scripts/rvm"
fi

app=$1; config=$2; log=$3;
cd $app && exec bundle exec puma -C $config >> $log 2>&1

Version data entries

59 entries across 59 versions & 5 rubygems

Version Path
puma-4.3.12-java tools/jungle/init.d/run-puma
puma-4.3.12 tools/jungle/init.d/run-puma
puma-4.3.11-java tools/jungle/init.d/run-puma
puma-4.3.11 tools/jungle/init.d/run-puma
puma-4.3.10-java tools/jungle/init.d/run-puma
puma-4.3.10 tools/jungle/init.d/run-puma
puma-4.3.9 tools/jungle/init.d/run-puma
puma-4.3.9-java tools/jungle/init.d/run-puma
puma-4.3.8-java tools/jungle/init.d/run-puma
puma-4.3.8 tools/jungle/init.d/run-puma
puma-4.3.7-java tools/jungle/init.d/run-puma
puma-4.3.7 tools/jungle/init.d/run-puma
piesync-puma-3.12.6.1 tools/jungle/init.d/run-puma
piesync-puma-3.12.6 tools/jungle/init.d/run-puma
puma-4.3.6-java tools/jungle/init.d/run-puma
puma-4.3.6 tools/jungle/init.d/run-puma
gitlab-puma-4.3.5.gitlab.3 tools/jungle/init.d/run-puma
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/puma-4.3.0/tools/jungle/init.d/run-puma
puma-4.3.5-java tools/jungle/init.d/run-puma
puma-4.3.5 tools/jungle/init.d/run-puma