diff --git a/Makefile b/Makefile index fcfd998979..bc1d494aa8 100644 --- a/Makefile +++ b/Makefile @@ -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 "" @@ -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) diff --git a/webapp/templates/jury/submission.html.twig b/webapp/templates/jury/submission.html.twig index 7da1dda839..2ea923714a 100644 --- a/webapp/templates/jury/submission.html.twig +++ b/webapp/templates/jury/submission.html.twig @@ -727,7 +727,7 @@ show complete metadata {% if runsOutput[runIdx].metadata is not null %} - {% if runsOutput[runIdx].output_limit %} + {% if runsOutput[runIdx].output_limit is defined %}
The submission output ({{ runsOutput[runIdx].output_limit }}) was truncated because of the configured output limit.