listen on ipv6 and make sure the port is 9292
This commit is contained in:
parent
5fae93466e
commit
1fa145577d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ chown -R ruby:www-data ${dir}
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
start)
|
||||||
rm -f ${pid}
|
rm -f ${pid}
|
||||||
daemonize -p ${pid} -l ${pid} -c ${dir} -u ruby /usr/bin/bundle exec rackup
|
daemonize -p ${pid} -l ${pid} -c ${dir} -u ruby /usr/bin/bundle exec rackup -h :: -p 9292
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
test ! -f ${pid} || cat ${pid} | xargs -r kill
|
test ! -f ${pid} || cat ${pid} | xargs -r kill
|
||||||
|
|
Loading…
Reference in a new issue