blob: 3b0c73fbe53877cd1b0d68d9b9ac848693c00882 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-module(mem2_code_change).
-export([run/0]).
run() ->
Pid = whereis(membership),
OldVsn = "0.7.1-cloudant",
Extra = "",
sys:suspend(Pid),
sys:change_code(Pid, membership2, OldVsn, Extra),
sys:resume(Pid).
|