Sha256: 8c3d381365afb5f524ba6c573f48fde144c66f7753fca252bb66481c8f9fe5ab
Contents?: true
Size: 335 Bytes
Versions: 9
Compression:
Stored size: 335 Bytes
Contents
#!/bin/bash app=$1; cd $app || exit 1 if [ -e Gemfile ]; then exec <%= fetch(:puma_user) ? "sudo -u #{puma_user(@role)}" : '' %> sh -c "exec bundle exec puma -C <%= fetch(:puma_conf) %> --daemon" else exec <%= fetch(:puma_user) ? "sudo -u #{puma_user(@role)}" : '' %> sh -c "exec puma -C <%= fetch(:puma_conf) %> --daemon" fi
Version data entries
9 entries across 9 versions & 2 rubygems