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
start)
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)
test ! -f ${pid} || cat ${pid} | xargs -r kill