chiark / gitweb /
man,units: fix installation of systemd-nspawn@.service and add example
[elogind.git] / man / systemd-nspawn.xml
index c2be6d5446babde16ca2ddb4dbc169d65cd5ff2e..3707a5ec942516ad811ced1621b51525f6ee4dd4 100644 (file)
                 boots an OS in a namespace container in it.</para>
         </refsect1>
 
+        <refsect1>
+                <title>Example 4</title>
+
+                <programlisting># mv ~/arch-tree /var/lib/container/arch
+# systemctl enable systemd-nspawn@arch.service
+# systemctl start systemd-nspawn@arch.service</programlisting>
+
+                <para>This makes the Arch Linux container part of the
+                <filename>multi-user.target</filename> on the host.
+                </para>
+        </refsect1>
+
         <refsect1>
                 <title>Exit status</title>