start with puma
This commit is contained in:
parent
af50b023ab
commit
e74249cc11
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ CWD=$(pwd)
|
||||||
|
|
||||||
PIDFILE=./ledgerrb.pid
|
PIDFILE=./ledgerrb.pid
|
||||||
PORT=9292
|
PORT=9292
|
||||||
SERVER='bundle exec rackup'
|
SERVER='bundle exec puma'
|
||||||
SERVER_OPTIONS=' --daemonize --pid $PIDFILE --port $PORT --host 0.0.0.0 --server puma'
|
SERVER_OPTIONS=' --daemon --pidfile $PIDFILE --port $PORT'
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
$SERVER $SERVER_OPTIONS
|
$SERVER $SERVER_OPTIONS
|
||||||
|
|
Loading…
Add table
Reference in a new issue