8000 Enable a systemd timeout for PG. · Devkant21/postgres@5608332 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5608332

Browse files
committed
Enable a systemd timeout for PG.
Under error conditions, ensure that PG does not block a system restart.
1 parent 9624673 commit 5608332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/files/postgresql_config/postgresql.service.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ExecStart=/usr/lib/postgresql/bin/postgres -D /etc/postgresql
1313
ExecReload=/bin/kill -HUP $MAINPID
1414
KillMode=mixed
1515
KillSignal=SIGINT
16-
TimeoutSec=0
16+
TimeoutSec=90
1717
Restart=always
1818
RestartSec=5
1919

0 commit comments

Comments
 (0)
0