mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 06:00:56 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/linux/systemctl-add-wants
Normal file
21
tldr/linux/systemctl-add-wants
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl add-wants
|
||||
|
||||
> Add `Wants` dependencies to a target for one or more units.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#add-wants%20TARGET%0A%20%20%20%20%20%20%20%20%20%20UNIT%E2%80%A6>.
|
||||
|
||||
- Add a `Wants` dependency from a target to a unit:
|
||||
|
||||
`systemctl add-wants {{target}} {{unit}}`
|
||||
|
||||
- Add multiple `Wants` dependencies at once:
|
||||
|
||||
`systemctl add-wants {{target}} {{unit1 unit2 ...}}`
|
||||
|
||||
- Add a user-level `Wants` dependency:
|
||||
|
||||
`systemctl --user add-wants {{target}} {{unit}}`
|
||||
Reference in New Issue
Block a user