X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=monit-cn%2Fmysqld.conf;h=857f4d99cc43502d5d6beb9dac58ea6587a03a43;hb=32a233584c1cb16241dc12a4e2c12fec4dfadfcb;hp=af671e231ee1cddbeb7f48fc8b6a8b3fff51c18e;hpb=ddff8b45ab496434fe4e4b510f3b364d32c6bb52;p=monit-cn.git diff --git a/monit-cn/mysqld.conf b/monit-cn/mysqld.conf index af671e2..857f4d9 100644 --- a/monit-cn/mysqld.conf +++ b/monit-cn/mysqld.conf @@ -3,9 +3,6 @@ check process mysql with pidfile "/var/run/mysqld/mysqld.pid" start program = "/etc/init.d/mysql start" stop program = "/etc/init.d/mysql stop" - #if failed host 127.0.0.1 port 3306 protocol mysql - # with timeout 10 seconds - # then restart - if failed host 127.0.0.1 port 3306 type tcp + if failed host 127.0.0.1 port 3306 protocol mysql with timeout 10 seconds then restart