-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
systemctl-link: add page #19596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
systemctl-link: add page #19596
Conversation
|
The build for this PR failed with the following error(s) at commit Please fix the error(s) and push again. |
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}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `systemctl link /{{path/to/service}}` | |
| `systemctl link {{path/to/service}}` |
There was a problem hiding this comment.
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 ...}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `systemctl link /{{path/to/service1 /path/to/service2 ...}}` | |
| `systemctl link {{path/to/service1 path/to/service2 ...}}` |
| > 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>. |
There was a problem hiding this comment.
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.
Checklist
common,linux,osx,windows,sunos,android, etc.