add packaging scripts

This commit is contained in:
2026-02-08 14:33:02 +08:00
parent 9b20887cc2
commit 6eb6ff6425
8 changed files with 152 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Build the deb:
cd bitoj_python/packaging/ubuntu
bash build-deb.sh
Install:
sudo dpkg -i dist/bitoj_0.1.0_all.deb
Service:
sudo service bitoj start|stop|restart
sudo journalctl -u bitoj -f
Logs:
/var/log/bitoj/daemon.log
/var/log/bitoj/judge-*.log
/var/log/bitoj/tester-*.log