Преглед изворни кода

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"