Skip to content

Commit

Permalink
Run keepalived notification scripts as domjudge user
Browse files Browse the repository at this point in the history
This both prevents/fixes some security alerts and also makes
sure that the files that the alerting script copies are the
right ones.
  • Loading branch information
DOMjudge team authored and meisterT committed May 5, 2024
1 parent d5522ff commit de785d4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ vrrp_instance lb_ipv4 {
auth_type PASS
auth_pass {{REPLICATION_PASSWORD}}
}
script_user domjudge domjudge
notify_backup /home/domjudge/bin/trigger_alert.sh
notify_master /home/domjudge/bin/trigger_alert.sh
notify_fault /home/domjudge/bin/trigger_alert.sh
Expand Down

0 comments on commit de785d4

Please sign in to comment.