mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2024-12-26 09:59:18 +01:00
more better
This commit is contained in:
parent
9e40a108c9
commit
0bbb2f9254
1 changed files with 5 additions and 3 deletions
|
@ -1,9 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
PIDFILE=./puma.pid
|
||||
CWD=$(pwd)
|
||||
|
||||
SERVER='bundle exec puma'
|
||||
SERVER_OPTIONS=' --daemon --pidfile $PIDFILE'
|
||||
PIDFILE=$CWD/puma.pid
|
||||
|
||||
SERVER=bundle exec puma
|
||||
SERVER_OPTIONS=--daemon --pidfile $PIDFILE
|
||||
|
||||
function start() {
|
||||
$SERVER $SERVER_OPTIONS
|
||||
|
|
Loading…
Reference in a new issue