Skip to content

Conversation

@TheRootDaemon
Copy link
Collaborator

@TheRootDaemon TheRootDaemon commented Nov 24, 2025

Checklist

  • The page(s) are in the correct platform directories: common, linux, osx, windows, sunos, android, etc.
  • The page description(s) have links to documentation or a homepage.
  • The page(s) follow the content guidelines.
  • The page(s) follow the style guide.
  • The PR contains at most 5 new pages.
  • The PR is authored by me, or has been human-reviewed if it was created with AI or machine translation software.
  • The PR title conforms to the recommended templates.
  • Version of the command being documented (if known):
  • Reference issue: Let's document: systemctl #17684

@github-actions github-actions bot added new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers. labels Nov 24, 2025
@tldr-bot
Copy link

The build for this PR failed with the following error(s) at commit
5f2260b824dc5513a2b75b2d047af03c057c504e:

pages/linux/systemctl-link.md:
Error: Parse error on line 4:
...ink%20PATH%E2%80%A6>- Link a unit file
-----------------------^
Expecting 'END_INFORMATION_LINK_URL', got 'NEWLINE'
pages/linux/systemctl-link.md:4: TLDR011 Page never contains more than a single empty line

Please fix the error(s) and push again.

@Managor Managor mentioned this pull request Nov 24, 2025
79 tasks
TheRootDaemon and others added 2 commits November 25, 2025 07:31
Co-authored-by: Lena Pastwa <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

- Link a unit file to make it available for systemd commands:

`systemctl link /{{path/to/service}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`systemctl link /{{path/to/service}}`
`systemctl link {{path/to/service}}`

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, interesting. I went to test it and it can be relative, but it must have at least one directory separator.


- Link multiple unit files at once:

`systemctl link /{{path/to/service1 /path/to/service2 ...}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`systemctl link /{{path/to/service1 /path/to/service2 ...}}`
`systemctl link {{path/to/service1 path/to/service2 ...}}`

Comment on lines +3 to +4
> Link a unit file located outside the unit file search path into the search path.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#link%20PATH%E2%80%A6>.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the command to undo these changes? Add it to a See also: section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants