浏览代码

Update mysql.conf

Update to CentOS 7 comand!
WebZation 9 年之前
父节点
当前提交
d836fb2bc4
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      install/rhel/7/monit/mysql.conf

+ 3 - 3
install/rhel/7/monit/mysql.conf

@@ -1,3 +1,3 @@
-check process mysql with pidfile /var/run/mysqld/mysqld.pid
-    start program = "/etc/init.d/mysqld start"
-    stop program  = "/etc/init.d/mysqld stop"
+check process mariadb with pidfile /var/run/mariadb/mariadb.pid
+    start program = "/usr/bin/systemctl start mariadb"
+    stop program  = "/usr/bin/systemctl stop mariadb"