Skip to content

Commit d095971

Browse files
authored
Merge pull request #2 from inmotionhosting/NGX-230
NGX-230: fix bug in redis + mariadb process checks
2 parents 8dfe560 + 382abdb commit d095971

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/services/mariadb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# {{ template_destpath }}
22
# {{ ansible_managed }}
33

4-
check process mariadb with pidfile /var/run/{{ mysql_daemon }}//{{ mysql_daemon }}.pid
4+
check process mariadb matching "mariadbd"
55
group mysql
66
start program = "/bin/systemctl start {{ mysql_daemon }}"
77
stop program = "/bin/systemctl stop {{ mysql_daemon }}"

templates/services/redis

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# {{ template_destpath }}
22
# {{ ansible_managed }}
33

4-
check process redis with pidfile /var/run/{{ redis_daemon }}/{{ redis_daemon }}.pid
4+
check process redis matching "redis"
55
group redis
66
start program = "/bin/systemctl start {{ redis_daemon }}"
77
stop program = "/bin/systemctl stop {{ redis_daemon }}"

0 commit comments

Comments
 (0)