listen on ipv6 and make sure the port is 9292

This commit is contained in:
f 2022-03-15 18:26:14 -03:00
parent 5fae93466e
commit 1fa145577d

View file

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