fixed bug in port changing
Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/commit/40f7cfbe Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/tree/40f7cfbe Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/diff/40f7cfbe Branch: refs/heads/tapdocker Commit: 40f7cfbef7070febfe458bc46d72d27d3a61452c Parents: d893a73 Author: Arthi Vezhavendan <arthi...@gmail.com> Authored: Tue Aug 8 23:13:08 2017 -0400 Committer: Arthi Vezhavendan <arthi...@gmail.com> Committed: Tue Aug 8 23:13:08 2017 -0400 ---------------------------------------------------------------------- wait-for-postgres.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/blob/40f7cfbe/wait-for-postgres.sh ---------------------------------------------------------------------- diff --git a/wait-for-postgres.sh b/wait-for-postgres.sh index 96084c7..0be446d 100644 --- a/wait-for-postgres.sh +++ b/wait-for-postgres.sh @@ -20,7 +20,7 @@ sleep $delay n=0 until [ $n -ge 3 ] do - python manage.py migrate && python manage.py runserver 0.0.0.0:8000 && break + python manage.py migrate && python manage.py runserver 0.0.0.0:8010 && break echo "Retrying connection in $delay seconds..." n=$[$n+1] sleep 2