Create new session and set the process group ID for the postmaster
Create new session and set the process group ID for the postmaster

Otherwice it was receiving signal when you pressed Ctrl+C in the
terminal where patroni is running.

zalando/patroni,zalando/patroni