File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,8 @@ inplace-install-l:
238
238
@echo " sudo make inplace-postinstall-apache"
239
239
@echo " - Configure nginx"
240
240
@echo " sudo make inplace-postinstall-nginx"
241
+ @echo " - Configure judgedaemon
242
+ @echo " sudo make inplace-postinstall-judgedaemon"
241
243
@echo " - Set up database"
242
244
@echo " ./sql/dj_setup_database -u root [-r|-p ROOT_PASS] install"
243
245
@echo ""
@@ -291,6 +293,11 @@ inplace-postinstall-nginx: inplace-postinstall-permissions
291
293
systemctl restart nginx
292
294
systemctl restart php$(PHPVERSION ) -fpm
293
295
296
+ inplace-postinstall-judgedaemon :
297
+ cp $(CURDIR ) /etc/sudoers-domjudge /etc/sudoers.d/domjudge
298
+ chown root:root /etc/sudoers.d/domjudge
299
+ chmod 0600 /etc/sudoers.d/domjudge
300
+
294
301
# Removes created symlinks; generated logs, submissions, etc. remain in output subdir.
295
302
inplace-uninstall-l :
296
303
rm -rf $(judgehost_libjudgedir )
You can’t perform that action at this time.
0 commit comments