aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch.appup
blob: 2c597369eee9341c57938dd06b86e6d267a702da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%% @todo Remove the ending .* before release, we do not
%% want to support upgrades from/to release candidates.

{"2.0.0-rc.3",
	[{<<"2\\.0\\.[0-9]+.*">>, [
		{apply, {ranch, stop_all_acceptors, []}},
		{load_module, ranch},
		{load_module, ranch_acceptor},
		{update, ranch_acceptors_sup, supervisor},
		{load_module, ranch_app},
		{update, ranch_conns_sup, supervisor},
		{update, ranch_conns_sup_sup, supervisor},
		{load_module, ranch_crc32c},
		{update, ranch_embedded_sup, supervisor},
		{update, ranch_listener_sup, supervisor},
		{load_module, ranch_protocol},
		{load_module, ranch_proxy_header},
		{load_module, ranch_server},
		{load_module, ranch_server_proxy},
		{load_module, ranch_ssl},
		{update, ranch_sup, supervisor},
		{load_module, ranch_tcp},
		{load_module, ranch_transport},
		{apply, {ranch, restart_all_acceptors, []}}
	]}],
	[{<<"2\\.0\\.[0-9]+.*">>, [
		{apply, {ranch, stop_all_acceptors, []}},
		{load_module, ranch},
		{load_module, ranch_acceptor},
		{update, ranch_acceptors_sup, supervisor},
		{load_module, ranch_app},
		{update, ranch_conns_sup, supervisor},
		{update, ranch_conns_sup_sup, supervisor},
		{load_module, ranch_crc32c},
		{update, ranch_embedded_sup, supervisor},
		{update, ranch_listener_sup, supervisor},
		{load_module, ranch_protocol},
		{load_module, ranch_proxy_header},
		{load_module, ranch_server},
		{load_module, ranch_server_proxy},
		{load_module, ranch_ssl},
		{update, ranch_sup, supervisor},
		{load_module, ranch_tcp},
		{load_module, ranch_transport},
		{apply, {ranch, restart_all_acceptors, []}}
	]}]
}.