configuration-templates – Diff between revs 35 and 159
?pathlinks?
Rev 35 | Rev 159 | |||
---|---|---|---|---|
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
4 | |
4 | |
|
5 | check process sphinxsearch with pidfile /var/run/sphinxsearch/searchd.pid |
5 | check process sphinxsearch with pidfile /var/www/grimore.org/data/sphinxsearch/searchd.pid |
|
6 | start program = "/etc/init.d/sphinxsearch start" |
6 | start program = "/bin/systemctl start sphinx-searchd-grimore" |
|
7 | stop program = "/etc/init.d/sphinxsearch stop" |
7 | stop program = "/bin/systemctl stop sphinx-searchd-grimore" |
|
8 | if failed port 9312 then restart |
8 | if failed port 9312 then restart |
|
9 | # if 5 restarts within 5 cycles then timeout |
9 | # if 5 restarts within 5 cycles then timeout |
|
10 | |
10 | |
|
11 |
|
11 |
|
|
12 | |
12 | |
|
13 | |
13 | |
|
14 | |
14 | |