more better

This commit is contained in:
Gwenhael Le Moine 2015-01-11 09:39:03 +01:00
parent 9e40a108c9
commit 0bbb2f9254

View file

@ -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