Admin script integration method
The recommended admin script integration method will work if the
paste.httpserver.serve() API function is used directly. For more on the admin script process, see the general installation procedures.
If rather than manually incorporating the call to startup the Paste HTTP server in your application code, you are using PasteDeploy with a configuration similar to:
[server:main] use = egg:Paste#http host = 127.0.0.1 port = 8080
all you instead need to do to start up your WSGI application is wrap the running of the
NEW_RELIC_CONFIG_FILE=newrelic.ini newrelic-admin run-program paster serve production.ini