X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=monit-cn%2Fmysqld.conf;h=128e970c617d9c4adab6d71a120e7baf7a4e4090;hb=d5f708818132e79b1a6bea72477cff096752945a;hp=af671e231ee1cddbeb7f48fc8b6a8b3fff51c18e;hpb=ddff8b45ab496434fe4e4b510f3b364d32c6bb52;p=monit-cn.git diff --git a/monit-cn/mysqld.conf b/monit-cn/mysqld.conf index af671e2..128e970 100644 --- a/monit-cn/mysqld.conf +++ b/monit-cn/mysqld.conf @@ -1,11 +1,13 @@ -# mysql monit-cn template +## Begin - Generated by CARNet package monit-cn +# +# This is a monit-cn template file. REMOVE this whole comment block if +# you DON'T WANT monit-cn to edit/remove/delete your configuration file. +# +## End - Generated by CARNet package monit-cn 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