Systemd-run
lastmod 2026-11-10created 2026-09-222 edits
systemd-run is a command-line tool that runs a command as a transient systemd unit. Without writing a service file, a single command can be launched as a service, scope, or timer unit, and the -p option can specify cgroup resource limits such as CPU, memory, and IO, or a nice value. It is useful for controlling resources more finely than nice or taskset and for keeping logs in the journal.