systemd Socket Unit Builder
Write a socket unit that starts its service on the first connection. Nothing is executed or uploaded.
Generator only: review the unit before installing it. The socket unit owns the listening socket and systemd passes it to the service, so the service must not bind the port itself. Trigger limits and MaxConnections apply to the unit types documented in systemd.socket(5).
Generated unit
example-app.socket
Companion service
/etc/systemd/system, review it, then reload and enable the socket:sudo systemctl daemon-reload && sudo systemctl enable --now example-app.socket