systemctl: add support for --root for systemctl enable/disable/is-enabled
Add --root=<root> for enable/disable/is-enabled systemctl commands. To be used for easily enable / disable systemd services for a chroot, without running systemctl inside chroot.
This commit is contained in:
committed by
Lennart Poettering
parent
18fa6b2705
commit
be394c48a7
@@ -381,6 +381,17 @@
|
||||
disabled.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--root=</option></term>
|
||||
|
||||
<listitem><para>When used with
|
||||
<command>enable</command>/
|
||||
<command>disable</command>/
|
||||
<command>is-enabled</command>,
|
||||
use alternative root path for systemd
|
||||
install.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-H</option></term>
|
||||
<term><option>--host</option></term>
|
||||
|
||||
Reference in New Issue
Block a user