   http.createServer(app).listen app.get('port'), () ->
     console.log('GGA-API is listening on port ' + app.get('port'))
 
-  # Boot up job processing system.
-  requireFu(__dirname + '/jobs')(jobs, db)
+  if process.env.JOBS_ENABLED
+    # Boot up job processing system.
+    requireFu(__dirname + '/jobs')(jobs, db)

if 'development' == app.get('env')
  app.use(morgan('dev'))
  app.use(errorhandler())
  app.use('/kue', kue.app)

# Production environment settings.
if 'production' == app.get('env')

  kueUser = process.env.KUEUSER || "kue"
  kuePass = process.env.KUEPASS || "kue"

  if process.env.JOBS_ENABLED
    app.use('/kue', basicAuth(kueUser, kuePass))
    app.use('/kue', kue.app)

mongoOptions =
  db:
