edeliver_fork v1.4.6 Edeliver.Relup.Instructions.SuspendAppProcesses

This upgrade instruction does nothing

but can be used in an Edeliver.Relup.Modification to indicate that the processes are suspended which use changed callback modules See also Edeliver.Relup.Instructions.ResumeAppProcesses.

In a future step it might remove suspend instructions from modules which does not change exported functions and / or group the suspending of the processes in that way, that first all processes are suspended, then all code-changed and in the end resumed instead of performing this steps per module.

Link to this section Summary

Link to this section Functions

Link to this function modify_relup(instructions, config)

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.