configuration-templates – Blame information for rev 79
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
35 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ########################################################################### |
||
4 | |||
5 | # Where 9.6 is the postgresql version. |
||
6 | |||
7 | check process postgresql with pidfile /var/run/postgresql/9.6-main.pid |
||
8 | start program = "/etc/init.d/postgresql start" |
||
9 | stop program = "/etc/init.d/postgresql stop" |
||
10 | if failed unixsocket /var/run/postgresql/.s.PGSQL.5432 protocol pgsql then restart |
||
11 | if failed port 5432 protocol pgsql then restart |
||
12 | # if 5 restarts within 5 cycles then timeout |