that's not what it means in this case. We are just using it for testing. There is no kill -15 in front of it. Leaving the orphaned processes really makes an HA solution impossible.

I guess cleanly or graceful is really not what I am talking about. I just want if the parent goes down for the children to die too. Sure, there might be db corruption. That's not really the issue. The issue is the orphaned processes.

Now, that doesn't mean we should still expect it to work, but the fact that it is always the same two processes and the fact that sudo and systemctl behave different reproducibly suggests to me that something could be done.

I think we are going to have an uphill battle going to postgres with this though.