 
 process.on 'SIGUSR2', -> logger.reopenFileStreams()
 
-
 ProjectCredentialsConfig.create()
 .then (credentials) ->
   options =

{ProjectCredentialsConfig} = require 'sphere-node-utils'
MarketPlaceStockUpdater = require '../lib/marketplace-stock-updater'
package_json = require '../package.json'

  updater.run()
  .then (msg) ->
    logger.info msg
    Q()
  .then -> process.exit(0)
  .fail (error) ->
    logger.error error, 'Oops, something went wrong!'
    process.exit(1)
