mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2024-12-26 09:59:18 +01:00
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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue