Pleroma doesn't handle database restarts well
You can get Pleroma to crash rather hard if you restart the database. It would be better if it could recover gracefully.
Jan 19 17:39:17 colo pleroma[57064]: [error] Postgrex.Protocol (#PID<0.1173.0>) failed to connect: ** (Postgrex.Error) FATAL 57P03 (cannot_connect_now) the database system is starting up
Jan 19 17:39:20 colo pleroma[57064]: [info] Application pleroma exited: shutdown