code: def upload_celery_conf(command='celeryd', app_name=None, template_name=None, context=None):
      
  
      app_name = app_name or command
      default = {'app_name': app_name, 'command': command}
      context = context or {}
      default.update(context)
      template_name = template_name or [u'supervisor/%s.conf' % command, u'supervisor/celery.conf']
      upload_supervisor_app_conf(app_name=app_name, template_name=template_name, context=default)
docs: Upload Supervisor configuration for a celery command.