Skip to content

Commit 17fb1eb

Browse files
committed
Add section as suggested in the issue
1 parent 4109106 commit 17fb1eb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,17 @@ endif
167167
# Fix permissions and ownership for password files:
168168
-$(INSTALL_USER) -m 0600 -t $(DESTDIR)$(judgehost_etcdir) \
169169
etc/restapi.secret
170+
@echo ""
171+
@echo "========== Judgehost Install Completed =========="
172+
@echo ""
173+
@echo "Optionally:"
174+
@echo " - Install the create-cgroup service to setup the secure judging restrictions:"
175+
@echo " cp <DOMSERVER_UNPACK_PATH>/judge/create-cgroups.service /etc/systemd/system/"
176+
@echo " - Install the judgehost service:"
177+
@echo " cp <DOMSERVER_UNPACK_PATH>/judge/[email protected] /etc/systemd/system/"
178+
@echo " - You can enable the judghost on core 1 as:"
179+
@echo " systemctl enable domjudge-judgedaemon@1"
180+
@echo ""
170181

171182
check-root:
172183
@if [ `id -u` -ne 0 -a -z "$(QUIET)" ]; then \

0 commit comments

Comments
 (0)