Wait in mix task while pleroma is rebooted
If mix task is using Mix.Pleroma.start_pleroma/0 and there are settings in DB which need restart, task will execute immediately after first pleroma boot and fail when pleroma will be restarted.
Edited by Alexander Strizhakov