8000 chore: restart PG on service failure (#260) · Devkant21/postgres@bcea35d · GitHub
[go: up one dir, main page]

Skip to content

Commit bcea35d

Browse files
authored
chore: restart PG on service failure (supabase#260)
1 parent 42d47f9 commit bcea35d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/files/postgresql_config/postgresql.service.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ ExecReload=/bin/kill -HUP $MAINPID
1414
KillMode=mixed
1515
KillSignal=SIGINT
1616
TimeoutSec=0
17+
Restart=always
18+
RestartSec=5
1719

1820
[Install]
1921
WantedBy=multi-user.target

0 commit comments

Comments
 (0)
0