Skip to content

Commit

Permalink
feat: add reactivation of inactive notificatino rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sbgap committed Mar 15, 2024
1 parent 311d4f7 commit 1ce945e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/templates/app/supervisord.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ autostart=true
autorestart=true
redirect_stderr=true

[program:reactivateNR]
command= bash -c "sleep 10 && alerta reactivate_notitification_rules"
autostart=true
autorestart=true
redirect_stderr=true

{% if env.HEARTBEAT_SEVERITY -%}
[program:heartbeats]
command=sh -c "sleep 60 && alerta heartbeats --alert --severity {{ env.HEARTBEAT_SEVERITY }}"
Expand Down

0 comments on commit 1ce945e

Please sign in to comment.