configuration-templates – Diff between revs 35 and 159
?pathlinks?
Rev 35 | Rev 159 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
Line 4... | Line 4... | |||
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 |