Skip to content

Commit

Permalink
fix: s/bro/zeek/ in monit part
Browse files Browse the repository at this point in the history
  • Loading branch information
juju4 committed Oct 26, 2024
1 parent 63c7ceb commit 7a1522b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tasks/monit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: Set daemon fact
ansible.builtin.set_fact:
daemon: bro
daemon: zeek

- name: Monit package
ansible.builtin.package:
Expand Down
6 changes: 3 additions & 3 deletions templates/bro-monit.j2 → templates/zeek-monit.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ ansible_managed | comment }}
# check process bro with pidfile /var/run/bro.pid
check process bro matching "\/bro"
# check process zeek with pidfile /var/run/zeek.pid
check process zeek matching "\/zeek"
group system
group bro
start program = "{{ broids_broctl }} start"
Expand All @@ -9,7 +9,7 @@
depend on bro_bin
depend on bro_rc

check file bro_bin with path {{ bro_prefix }}/bin/bro
check file bro_bin with path {{ bro_prefix }}/bin/zeek
group bro
include /etc/monit/templates/rootbin

Expand Down

0 comments on commit 7a1522b

Please sign in to comment.