There's a merged pull request on the void-packages repository postgresql: allow for proper shutdown https://github.com/void-linux/void-packages/pull/22075 Description: runit sends TERM per default if it wants to down a service. For postgres this means it will go into "smart shutdown mode" [1] and wait until the last client disconnects and only then shut down. This can lead to unproper termination of postgres, especially on shutdowns/reboots. This change overrides runits default beharviour by sending INT instead so postgres will go into "fast shutdown mode" [1], which will make postgres exit as promptly as possible. [1] https://www.postgresql.org/docs/9.6/server-shutdown.html cc @jnbr