   """
 
 
-module.exports.create = (KONFIG)->
+module.exports.create = (KONFIG) ->
   # create supervisord main config
   conf = generateMainConf KONFIG
 

    \n
    """

  {memmon} = KONFIG.supervisord
  conf += generateMemmonSection memmon  if memmon

  return conf

  """

# becareful while editing this function, any change will affect every worker
generateWorkerSection = (app, options = {}, KONFIG) ->

  { projectRoot } = KONFIG
  { supervisord: { logdir } } = KONFIG

  section =
    command                 : 'command'
    numprocs                : options.instances or 1
    numprocs_start          : 0
    directory               : projectRoot
