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 @@ -241,6 +241,8 @@ inplace-install-l:
241
241
@echo " sudo make inplace-postinstall-apache"
242
242
@echo " - Configure nginx"
243
243
@echo " sudo make inplace-postinstall-nginx"
244
+ @echo " - Configure judgedaemon
245
+ @echo " sudo make inplace-postinstall-judgedaemon"
244
246
@echo " - Set up database"
245
247
@echo " ./sql/dj_setup_database -u root [-r|-p ROOT_PASS] install"
246
248
@echo ""
@@ -313,6 +315,11 @@ inplace-postinstall-nginx: inplace-postinstall-permissions
313
315
ln=" ln -sf $( CURDIR) /etc/domjudge-fpm.conf $$ phppool/domjudge-fpm.conf" ; \
314
316
echo $$ ln; echo $$ service; $$ ln; $$ service
315
317
318
+ inplace-postinstall-judgedaemon :
319
+ cp $(CURDIR ) /etc/sudoers-domjudge /etc/sudoers.d/domjudge
320
+ chown root:root /etc/sudoers.d/domjudge
321
+ chmod 0600 /etc/sudoers.d/domjudge
322
+
316
323
# Removes created symlinks; generated logs, submissions, etc. remain in output subdir.
317
324
inplace-uninstall-l :
318
325
rm -rf $(judgehost_libjudgedir )
You can’t perform that action at this time.
0 commit comments