Skip to content

Commit 0d6f679

Browse files
Michael Vasseurvmcj
authored andcommitted
CDS in ICPC image needs the JAVA_HOME
(cherry picked from commit 258b3f2)
1 parent b2c7cf4 commit 0d6f679

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provision-contest/ansible/roles/cds/files/cds.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Description=CDS
44
User=domjudge
55
Restart=always
66
ExecStart=/home/domjudge/cds/wlp/bin/server run cds
7+
Environment=JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
78
TimeoutStopSec=20s
89
[Install]
910
WantedBy=multi-user.target

0 commit comments

Comments
 (0)