Skip to content

Commit f8d19ff

Browse files
meisterTDOMjudge team
and
DOMjudge team
authored
Run keepalived notification scripts as domjudge user (#140)
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 <[email protected]>
1 parent dfd3d91 commit f8d19ff

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)