Skip to content

Commit

Permalink
Run keepalived notification scripts as domjudge user (#140)
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.

Co-authored-by: DOMjudge team <team@domjudge.org>
  • Loading branch information
meisterT and DOMjudge team authored May 6, 2024
1 parent dfd3d91 commit f8d19ff
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 f8d19ff

Please sign in to comment.