configuration-templates – Diff between revs 27 and 30

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 27 Rev 30
Line 4... Line 4...
4   4  
5 check process mysql with pidfile /var/run/mysqld/mysqld.pid 5 check process mysql with pidfile /var/run/mysqld/mysqld.pid
6 group mysql 6 group mysql
7 start program = "/etc/init.d/mysql start" 7 start program = "/etc/init.d/mysql start"
8 stop program = "/etc/init.d/mysql stop" 8 stop program = "/etc/init.d/mysql stop"
-   9 if failed host localhost port 3306 protocol mysql with timeout 15 seconds for 3 times within 4 cycles then restart
9 if failed host 127.0.0.1 port 3306 protocol mysql then restart 10 if failed unixsocket /var/run/mysqld/mysqld.sock protocol mysql for 3 times within 4 cycles then restart
10 # if 5 restarts within 5 cycles then timeout 11 if 5 restarts with 5 cycles then timeout
11 depends on mysql_bin 12 depend mysql_bin
Line 12... Line 13...
12 depends on mysql_rc 13 depend mysql_rc
13 14
14 check file mysql_bin with path /usr/sbin/mysqld 15 check file mysql_bin with path /usr/sbin/mysqld
15 group mysql 16 group mysql