Skip to content

Commit de785d4

Browse files
DOMjudge teammeisterT
DOMjudge team
authored andcommitted
Run keepalived notification scripts as domjudge user
This both prevents/fixes some security alerts and also makes sure that the files that the alerting script copies are the right ones.
1 parent d5522ff commit de785d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provision-contest/ansible/roles/keepalived/templates/keepalived.conf.j2

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ vrrp_instance lb_ipv4 {
1111
auth_type PASS
1212
auth_pass {{REPLICATION_PASSWORD}}
1313
}
14+
script_user domjudge domjudge
1415
notify_backup /home/domjudge/bin/trigger_alert.sh
1516
notify_master /home/domjudge/bin/trigger_alert.sh
1617
notify_fault /home/domjudge/bin/trigger_alert.sh

0 commit comments

Comments
 (0)