Sha256: c6c4e9f276a0e8ff9b02c5d98122989a1b3a5384aaf6614cf62d5c581f7afeec
Contents?: true
Size: 465 Bytes
Versions: 14
Compression:
Stored size: 465 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 -)" fi app=$1; config=$2; log=$3; cd $app && exec bundle exec puma -C $config 2>&1 >> $log
Version data entries
14 entries across 14 versions & 1 rubygems