provide start-nginx with -w and -f options

-w forces start-nginx to wait for a file to appear before starting nginx.
-f [filename] specifies what file to wait for (default: /tmp/app-initialized).