2023-02-04 22:37:00 +00:00
|
|
|
check process postgresql with pidfile /run/postgresql/pid
|
2022-03-04 01:43:25 +00:00
|
|
|
start program = "/usr/local/bin/postgresqld start"
|
|
|
|
stop program = "/usr/local/bin/postgresqld stop"
|
2023-08-16 15:54:44 +00:00
|
|
|
if failed port 5432 protocol pgsql username postgres for 3 times within 5 cycles then restart
|