diff --git a/images/web/start.sh b/images/web/start.sh index 8b66d8e2..55745fe8 100755 --- a/images/web/start.sh +++ b/images/web/start.sh @@ -64,12 +64,13 @@ while "$flag" = true; do # Start lighttpd and cgimap /usr/local/bin/openstreetmap-cgimap \ --port=8000 \ + --daemon \ --instances=30 \ --dbname=$POSTGRES_DB \ --host=$POSTGRES_HOST \ --username=$POSTGRES_USER \ --password=$POSTGRES_PASSWORD \ - --logfile log/cgimap.log & + --logfile log/cgimap.log # Start the delayed jobs queue worker and Start the app bundle exec rake jobs:work & apachectl -k start -DFOREGROUND