diff --git a/modules/services/databases/postgresql.nix b/modules/services/databases/postgresql.nix index 8ef272404e00..1633b9d0fdd0 100644 --- a/modules/services/databases/postgresql.nix +++ b/modules/services/databases/postgresql.nix @@ -188,8 +188,12 @@ in extraConfig = '' + # Shut down Postgres using SIGINT ("Fast Shutdown mode"). See + # http://www.postgresql.org/docs/current/static/server-shutdown.html + kill signal INT + # Give Postgres a decent amount of time to clean up after - # receiving Upstart's SIGTERM. + # receiving Upstart's SIGINT. kill timeout 60 ''; };