Skip to content

Commit

Permalink
NGX-230: fix bug in redis + mariadb process checks
Browse files Browse the repository at this point in the history
  • Loading branch information
combssm committed Jun 9, 2022
1 parent 8dfe560 commit 382abdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/services/mariadb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# {{ template_destpath }}
# {{ ansible_managed }}

check process mariadb with pidfile /var/run/{{ mysql_daemon }}//{{ mysql_daemon }}.pid
check process mariadb matching "mariadbd"
group mysql
start program = "/bin/systemctl start {{ mysql_daemon }}"
stop program = "/bin/systemctl stop {{ mysql_daemon }}"
Expand Down
2 changes: 1 addition & 1 deletion templates/services/redis
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# {{ template_destpath }}
# {{ ansible_managed }}

check process redis with pidfile /var/run/{{ redis_daemon }}/{{ redis_daemon }}.pid
check process redis matching "redis"
group redis
start program = "/bin/systemctl start {{ redis_daemon }}"
stop program = "/bin/systemctl stop {{ redis_daemon }}"
Expand Down

0 comments on commit 382abdb

Please sign in to comment.