Ejemplo n.º 1
0
 def stop(self, env, rolling_restart=False):
     import params
     env.set_params(params)
     falcon('server', action='stop')
     # if performing an upgrade, backup some directories after stopping falcon
     if rolling_restart:
         falcon_server_upgrade.post_stop_backup()
Ejemplo n.º 2
0
  def stop(self, env, upgrade_type=None):
    import params
    env.set_params(params)
    falcon('server', action='stop', upgrade_type=upgrade_type)

    # if performing an upgrade (ROLLING / NON_ROLLING), backup some directories after stopping falcon
    if upgrade_type is not None:
      falcon_server_upgrade.post_stop_backup()
Ejemplo n.º 3
0
    def stop(self, env, upgrade_type=None):
        import params
        env.set_params(params)
        falcon('server', action='stop', upgrade_type=upgrade_type)

        # if performing an upgrade (ROLLING / NON_ROLLING), backup some directories after stopping falcon
        if upgrade_type is not None:
            falcon_server_upgrade.post_stop_backup()
Ejemplo n.º 4
0
  def stop(self, env, rolling_restart=False):
    import params
    env.set_params(params)
    falcon('server', action='stop')

    # if performing an upgrade, backup some directories after stopping falcon
    if rolling_restart:
      falcon_server_upgrade.post_stop_backup()