chiark / gitweb /
systemctl: add commands set-default and get-default
[elogind.git] / man / systemctl.xml
index 27eabf2652b969c8a4082dfdbcd995e69d103921..430e16c327b77d83fa522c57ea26129f737328ce 100644 (file)
@@ -122,7 +122,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
           <command>show</command> command, limit display to certain
           properties as specified as argument. If not specified all
           set properties are shown. The argument should be a
-          comma-seperated list of property names, such as
+          comma-separated list of property names, such as
           <literal>MainPID</literal>. If specified more than once all
           properties with the specified names are shown.</para>
         </listitem>
@@ -997,6 +997,24 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
         </listitem>
       </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>