uwsgi:
  enable-threads: 1
  threads: 1
  workers: <%= (@physicalprocessorcount) %>
  master: 1
  socket: :8001
  plugin: python
  chown-socket: nginx:nginx
  pythonpath: /usr/lib/python2.7/site-packages/nailgun
  touch-reload: /var/lib/nailgun-uwsgi
  virtualenv: /usr
  module: nailgun.wsgi
  buffer-size: 49180
  listen: <%= @somaxconn %>
  pidfile: /var/run/nailgun.pid
  logto: /var/log/nailgun/app.log
  mule: 1
  lazy: true
  shared-pyimport: /usr/lib/python2.7/site-packages/nailgun/utils/mule.py

uwsgi:
  enable-threads: 1
  threads: 1
  workers: <%= (@physicalprocessorcount) %>
  master: 1
  socket: :8001
  plugin: python
  chown-socket: nginx:nginx
  pythonpath: /usr/lib/python2.7/site-packages/nailgun
  touch-reload: /var/lib/nailgun-uwsgi
  virtualenv: /usr
  module: nailgun.wsgi
  buffer-size: 49180
  listen: <%= @somaxconn %>
  pidfile: /var/run/nailgun.pid
  logto: /var/log/nailgun/app.log
  mule: 1
  lazy: true
  need-app: true
  shared-pyimport: /usr/lib/python2.7/site-packages/nailgun/utils/mule.py

Stop uwsgi service if nailgun app can not be loaded
Stop uwsgi service if nailgun app can not be loaded

'need-app' option makes uwsgi exit if no app can be loaded

Change-Id: Ie54987d4d04b3a8dc533fb5589b65a00a879924a
Closes-bug: 1555003
