1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=Domjudge judgehost daemon at cpu %i After=network.target domjudge-cgroup.service Requires= domjudge-cgroup.service [Service] ExecStart=/usr/bin/judgedaemon -n %i Restart=on-failure User=domjudge KillSignal=SIGINT SendSIGKILL=no [Install] WantedBy=multi-user.target