Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ inplace-install-l:
@echo " sudo make inplace-postinstall-apache"
@echo " - Configure nginx"
@echo " sudo make inplace-postinstall-nginx"
@echo " - Configure judgedaemon
@echo " sudo make inplace-postinstall-judgedaemon"
@echo " - Set up database"
@echo " ./sql/dj_setup_database -u root [-r|-p ROOT_PASS] install"
@echo ""
Expand Down Expand Up @@ -291,6 +293,11 @@ inplace-postinstall-nginx: inplace-postinstall-permissions
systemctl restart nginx
systemctl restart php$(PHPVERSION)-fpm

inplace-postinstall-judgedaemon:
cp $(CURDIR)/etc/sudoers-domjudge /etc/sudoers.d/domjudge
chown root:root /etc/sudoers.d/domjudge
chmod 0600 /etc/sudoers.d/domjudge

# Removes created symlinks; generated logs, submissions, etc. remain in output subdir.
inplace-uninstall-l:
rm -rf $(judgehost_libjudgedir)
Expand Down
2 changes: 1 addition & 1 deletion webapp/templates/jury/submission.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@
show complete metadata
</button>
{% if runsOutput[runIdx].metadata is not null %}
{% if runsOutput[runIdx].output_limit %}
{% if runsOutput[runIdx].output_limit is defined %}
<div class="alert alert-warning">
The submission output (<code>{{ runsOutput[runIdx].output_limit }}</code>) was
truncated because of the configured output limit.
Expand Down
Loading