mirror of
https://github.com/aziascreations/BakaShrot.git
synced 2026-11-23 20:58:46 +01:00
Run the server headless on Linux, add Docker images for it
The server no longer stops when it has no console input on Linux: it reads its own dup of stdin (taken before OpenConsole(), which closes fd 0; Input() returns "" at EOF there), and SIGTERM/SIGINT stop it like "quit". Windows is unchanged. Docker/Compiler: PureBasic 6.41 on debian:trixie-slim (the archive is copied in by hand and git-ignored). Docker/Server: multi-stage, built with the C backend and the optimizer, run on debian:trixie-slim with libsodium and SQLite only, as user bakashrot; config /etc/bakashrot/server.ini, volume /var/lib/bakashrot, port 12345. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RwFeVQCBfcPDfAPqX8z2TF
This commit is contained in:
+2
-1
@@ -90,7 +90,8 @@ in `Tests/` already, to be pointed at the release instead.
|
||||
Needs a way to stop it without a console: a stop file like
|
||||
`BenchServer.exe`'s, or a local admin connection (`Notes.md`, console
|
||||
commands can't be scripted). Then check it stops within a few seconds,
|
||||
with its last messages committed.
|
||||
with its last messages committed. On Linux, SIGTERM does it (2026-11-10,
|
||||
checked through `docker stop`).
|
||||
5. **Refusals**:
|
||||
- an unknown public key, and a known one with the wrong private key:
|
||||
not authenticated;
|
||||
|
||||
Reference in New Issue
Block a user