Create and run a one-off transient unit.

Section: User Units and Transient Units

Run a transient service

bash
bash
systemd-run --unit=adhoc-backup --description="Ad hoc backup" /usr/local/bin/backup.sh
Explanation

Great for controlled one-off execution under systemd supervision.

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 User Units and Transient Units
Run command in transient scope
Place an existing process subtree under a systemd scope.
OpenIn sheetbashsame section
List user units
Show units under the user service manager.
OpenIn sheetbashsame section
Enable user service
Enable and start a per-user service.
OpenIn sheetbashsame section
Enable linger for user
Keep user services running without an active login session.
OpenIn sheetbashsame section
Run the timer's service manually
Start the paired service unit directly.
OpenIn sheetbash1 tag match
List timers
Show active timers and next run times.