ranch.appup 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. %% @todo Remove the ending .* before release, we do not
  2. %% want to support upgrades from/to release candidates.
  3. {"2.0.0-rc.3",
  4. [{<<"2\\.0\\.[0-9]+.*">>, [
  5. {apply, {ranch, stop_all_acceptors, []}},
  6. {load_module, ranch},
  7. {load_module, ranch_acceptor},
  8. {update, ranch_acceptors_sup, supervisor},
  9. {load_module, ranch_app},
  10. {update, ranch_conns_sup, supervisor},
  11. {update, ranch_conns_sup_sup, supervisor},
  12. {load_module, ranch_crc32c},
  13. {update, ranch_embedded_sup, supervisor},
  14. {update, ranch_listener_sup, supervisor},
  15. {load_module, ranch_protocol},
  16. {load_module, ranch_proxy_header},
  17. {load_module, ranch_server},
  18. {load_module, ranch_server_proxy},
  19. {load_module, ranch_ssl},
  20. {update, ranch_sup, supervisor},
  21. {load_module, ranch_tcp},
  22. {load_module, ranch_transport},
  23. {apply, {ranch, restart_all_acceptors, []}}
  24. ]}],
  25. [{<<"2\\.0\\.[0-9]+.*">>, [
  26. {apply, {ranch, stop_all_acceptors, []}},
  27. {load_module, ranch},
  28. {load_module, ranch_acceptor},
  29. {update, ranch_acceptors_sup, supervisor},
  30. {load_module, ranch_app},
  31. {update, ranch_conns_sup, supervisor},
  32. {update, ranch_conns_sup_sup, supervisor},
  33. {load_module, ranch_crc32c},
  34. {update, ranch_embedded_sup, supervisor},
  35. {update, ranch_listener_sup, supervisor},
  36. {load_module, ranch_protocol},
  37. {load_module, ranch_proxy_header},
  38. {load_module, ranch_server},
  39. {load_module, ranch_server_proxy},
  40. {load_module, ranch_ssl},
  41. {update, ranch_sup, supervisor},
  42. {load_module, ranch_tcp},
  43. {load_module, ranch_transport},
  44. {apply, {ranch, restart_all_acceptors, []}}
  45. ]}]
  46. }.