Dashboard › opencode › Distillation
4647b834-dae3-4945-8b8e-a8ad967522e4["lore_tm_v1_t0c7ZWXB72ZAicxPqn59DblVp38FrkglPDbVXJDeVFo","lore_tm_v1_WCkhecygqu79aET-wKelRMN0YwL2YNtMZxVcnkYIn3k","lore_tm_v1_hgOkaklLy0b9sFMhfjk2Ha30QWN3OH-dK-hB1VwMSu0","lore_tm_v1_6VcDTR4PdfoNFK2Goiy04wmG8Xz-6IeDebMNC495LeA"]
systemd-run source constructs automatic transient-unit names with strjoin("run-u", id, ".", unit_type_to_string(t)).start_transient_service() event-loop setup gives TTY forwarding precedence before attaching the bus at SD_EVENT_PRIORITY_NORMAL.--pipe represented by ARG_STDIO_DIRECT; direct mode passes STDIN_FILENO through the StandardInputFileDescriptor property and similarly wires standard output/error to the activated service. If any of stdin/stdout/stderr is a TTY, send_term is enabled.systemd-run source showed automatic stdio mode selects PTY handling only when STDIN_FILENO, STDOUT_FILENO, and STDERR_FILENO are all TTYs; otherwise it selects ARG_STDIO_DIRECT.start_transient_service() source showed PTY mode acquires a pseudo-terminal master, determines the TTY path, installs pty_forward_handler, attaches the systemd bus to the same sd_event loop, and runs sd_event_loop(c.event).start_transient_service() source showed return-status propagation: result success → EXIT_SUCCESS; result exit-code with positive c.exit_status → that exact status; result signal → EXIT_EXCEPTION; all other non-success results → EXIT_FAILURE.start_transient_scope() source showed transient scopes prefer pidfd-based attachment via transient_scope_set_properties(m, allow_pidfd) with allow_pidfd = true; if StartTransientUnit returns SD_BUS_ERROR_UNKNOWN_PROPERTY or SD_BUS_ERROR_PROPERTY_READ_ONLY, it logs Retrying with classic PIDs., sets allow_pidfd = false, and retries.