Update socket and pid directory to recent Debian values
This commit is contained in:
parent
bfbe2e24b8
commit
1905207160
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
check process mariadb with pidfile /var/run/mysqld/mysqld.pid
|
||||
check process mariadb with pidfile /run/mysqld/mysqld.pid
|
||||
group database
|
||||
start program = "/usr/sbin/service mysql start"
|
||||
stop program = "/usr/sbin/service mysql stop"
|
||||
|
@ -10,5 +10,5 @@ check process mariadb with pidfile /var/run/mysqld/mysqld.pid
|
|||
port 3306 protocol mysql
|
||||
username "{{ monit_sql_user }}" password "{{ monit_sql_password }}"
|
||||
with timeout 15 seconds for 3 times within 4 cycles then restart
|
||||
if failed unixsocket /var/run/mysqld/mysqld.sock protocol mysql for 3 times within 4 cycles then restart
|
||||
if failed unixsocket /run/mysqld/mysqld.sock protocol mysql for 3 times within 4 cycles then restart
|
||||
if 5 restarts with 5 cycles then timeout
|
||||
|
|
Loading…
Reference in a new issue