Files
ewm/scripts/systemd/ewm-one.socket
Stefan ArentzandClaude Fable 5 25f59cc451 scripts/systemd/README.md: the telnet Apple 1 build & setup guide (#304)
The first real deployment surfaced everything a header comment
couldn't hold: SDL's Linux build dependencies (and the XTEST error a
partial set produces), the stale-CMake-cache gotcha after a failed
configure (cargo clean -p sdl3-sys), what sdl-static-headless actually
builds and its --tty-only caveat, the install paths the units expect,
how to watch sessions (systemctl list-units / journalctl), operating
knobs (machine, port, limits, banner), the security posture, and a
troubleshooting section written from the actual failures.

The guide lives next to the units as scripts/systemd/README.md; the
socket header shrinks to a pointer (one source of truth), and the main
README's Experimental bullet and notes/APPLE1.md link to it.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 18:33:23 -04:00

17 lines
444 B
SYSTEMD

# An Apple 1 per telnet connection: inetd-style socket activation —
# systemd accepts each connection on port 6502 and starts a fresh
# ewm-one@.service instance with the connection as stdin/stdout.
#
# Build, install, and operating guide: README.md in this directory.
[Unit]
Description=Apple 1 telnet listener (one machine per connection)
[Socket]
ListenStream=6502
Accept=yes
MaxConnectionsPerSource=4
[Install]
WantedBy=sockets.target