edeliver v1.6.0 Edeliver.Relup.Instructions.SoftPurge
Upgrade instruction which replaces :brutal_purge
with :soft_purge
for :load_module
, :load
, :update
and :remove
relup instructions.
If :brutal_purge
is used, processes running old code are killed.
If :soft_purge
is used the release handler will refuse to start
the upgrade.
Link to this section Summary
Functions
Modifies the relup file
Link to this section Functions
Modifies the relup file.
Modifies the relup
file which will be used to upgrade (or downgrade) from one version to another
by inserting, removing, or shifting appup instructions.
See Edeliver.Relup.InsertInstruction
and Edeliver.Relup.ShiftInstruction
for useful helpers to
insert / position the instructions and Edeliver.Relup.RunnableInstruction
to execute custom code
during the upgrade.
Callback implementation for Edeliver.Relup.Instruction.modify_relup/2
.