Launch a one-off command as a transient service unit.
Section: Transient Units and Resource Controls
Run transient service
bash
bash
systemd-run --unit=myjob --remain-after-exit /usr/bin/sleep 60Explanation
Launch a one-off command as a transient service unit.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Transient Units and Resource Controls
Run process in transient scope
Run an interactive process in its own transient scope unit.
Set CPU quota on service
Apply runtime resource-control properties to a unit.
Show logs for a service
Read recent logs associated with one systemd unit.