Service on three systems
A systemd unit on Linux, a LaunchDaemon on macOS and a Windows service. Proven on Ubuntu 24.04 ARM64. On macOS it ran as a foreground process and the service install was only a dry run. The Windows parts written most recently have never been run.