mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
539 B
Plaintext
19 lines
539 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# systemctl link
|
|
|
|
> Link a unit file located outside the unit file search path into the search path.
|
|
> See also: `systemctl disable`.
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#link%20PATH%E2%80%A6>.
|
|
|
|
- Link a unit file to make it available for systemd commands:
|
|
|
|
`systemctl link {{path/to/service}}`
|
|
|
|
- Link multiple unit files at once:
|
|
|
|
`systemctl link {{path/to/service1 path/to/service2 ...}}`
|