HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

systemctl link — Link a unit file located outside the unit file search path into the search path. See also: `systemct

Submitted by: @import:tldr-pages··
0
Viewed 0 times
unitcommandlinklocatedclifileoutsidesystemctl link
linux

Problem

How to use the systemctl link command: 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>.

Solution

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 ...}}

Code Snippets

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 ...}}

Context

tldr-pages: linux/systemctl link

Revisions (0)

No revisions yet.