From 0d92f896583dd2c9a62ee3edc910cbea8b030246 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 9 Jun 2022 10:57:02 +0200 Subject: [PATCH] mariadb: Benennen Monit-Service um. Names des Services und der Datei sind damit einheitlich. --- tasks/monit.yml | 2 +- templates/monit.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/monit.yml b/tasks/monit.yml index 0dc5869..9ed6eaf 100644 --- a/tasks/monit.yml +++ b/tasks/monit.yml @@ -10,6 +10,6 @@ - name: "monit | Konfiguration kopieren" template: src: monit.j2 - dest: /etc/monit/conf-enabled/mysql + dest: /etc/monit/conf-enabled/mariadb mode: 0600 notify: reload monit diff --git a/templates/monit.j2 b/templates/monit.j2 index e9adc5e..fe4926a 100644 --- a/templates/monit.j2 +++ b/templates/monit.j2 @@ -1,4 +1,4 @@ -check process mysqld with pidfile /var/run/mysqld/mysqld.pid +check process mariadb with pidfile /var/run/mysqld/mysqld.pid group database start program = "/usr/sbin/service mysql start" stop program = "/usr/sbin/service mysql stop"