start with puma

This commit is contained in:
Gwenhael Le Moine 2015-08-30 22:47:50 +02:00
parent af50b023ab
commit e74249cc11

View file

@ -4,8 +4,8 @@ CWD=$(pwd)
PIDFILE=./ledgerrb.pid
PORT=9292
SERVER='bundle exec rackup'
SERVER_OPTIONS=' --daemonize --pid $PIDFILE --port $PORT --host 0.0.0.0 --server puma'
SERVER='bundle exec puma'
SERVER_OPTIONS=' --daemon --pidfile $PIDFILE --port $PORT'
function start() {
$SERVER $SERVER_OPTIONS