summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorVáclav Pavlín <vpavlin@redhat.com>2013-05-28 11:05:48 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-05-30 20:44:41 -0400
commit99504dd4c13af7516a976fffc0f68e6f26d3faac (patch)
treeb0650f8436617bb48701353f28310ac7f9a62de9 /man
parent9749cd77bc6121a304a7f1eb0f03f26e620dc9da (diff)
systemctl: add commands set-default and get-default
systemctl set-default NAME links the default.target to the given unit, get-default prints out the path to the currently set default target.
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 0afb0cc626..430e16c327 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -998,6 +998,24 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
</varlistentry>
<varlistentry>
+ <term><command>get-default</command></term>
+
+ <listitem>
+ <para>Get the default target specified
+ via <filename>default.target</filename> link.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><command>set-default <replaceable>NAME</replaceable></command></term>
+
+ <listitem>
+ <para>Set the default target to boot into. Command links
+ <filename>default.target</filename> to the given unit.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><command>load <replaceable>NAME</replaceable>...</command></term>
<listitem>