If you want to keep the `set -e`, then you need to keep pgrep from failing, by:
MASTER_PID=`pgrep -f '^([^ ]*/)?puma ' || true`
If you want to keep the `set -e`, then you need to keep pgrep from failing, by:
MASTER_PID=`pgrep -f '^([^ ]*/)?puma ' || true`