diff options
author | Bobby Rong <rjl931189261@126.com> | 2021-07-02 10:46:34 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2021-07-02 10:46:34 +0800 |
commit | b5215f3f73a7b4f6780c7215dade87513322cd5a (patch) | |
tree | 2660d5fcb310517f5940d650756ab8c4eb7ffb1f /nixos/doc/manual/administration | |
parent | d8079260a3028ae3221d7a5467443ee3a9edd2b8 (diff) | |
download | nixlib-b5215f3f73a7b4f6780c7215dade87513322cd5a.tar nixlib-b5215f3f73a7b4f6780c7215dade87513322cd5a.tar.gz nixlib-b5215f3f73a7b4f6780c7215dade87513322cd5a.tar.bz2 nixlib-b5215f3f73a7b4f6780c7215dade87513322cd5a.tar.lz nixlib-b5215f3f73a7b4f6780c7215dade87513322cd5a.tar.xz nixlib-b5215f3f73a7b4f6780c7215dade87513322cd5a.tar.zst nixlib-b5215f3f73a7b4f6780c7215dade87513322cd5a.zip |
nixos: nixos/doc/manual/administration/maintenance-mode.xml to CommonMark
Diffstat (limited to 'nixos/doc/manual/administration')
-rw-r--r-- | nixos/doc/manual/administration/maintenance-mode.section.md | 11 | ||||
-rw-r--r-- | nixos/doc/manual/administration/maintenance-mode.xml | 16 | ||||
-rw-r--r-- | nixos/doc/manual/administration/troubleshooting.xml | 2 |
3 files changed, 12 insertions, 17 deletions
diff --git a/nixos/doc/manual/administration/maintenance-mode.section.md b/nixos/doc/manual/administration/maintenance-mode.section.md new file mode 100644 index 000000000000..0aec013c0a9b --- /dev/null +++ b/nixos/doc/manual/administration/maintenance-mode.section.md @@ -0,0 +1,11 @@ +# Maintenance Mode {#sec-maintenance-mode} + +You can enter rescue mode by running: + +```ShellSession +# systemctl rescue +``` + +This will eventually give you a single-user root shell. Systemd will +stop (almost) all system services. To get out of maintenance mode, just +exit from the rescue shell. diff --git a/nixos/doc/manual/administration/maintenance-mode.xml b/nixos/doc/manual/administration/maintenance-mode.xml deleted file mode 100644 index 74abfdd7c663..000000000000 --- a/nixos/doc/manual/administration/maintenance-mode.xml +++ /dev/null @@ -1,16 +0,0 @@ -<section xmlns="http://docbook.org/ns/docbook" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:xi="http://www.w3.org/2001/XInclude" - version="5.0" - xml:id="sec-maintenance-mode"> - <title>Maintenance Mode</title> - - <para> - You can enter rescue mode by running: -<screen> -<prompt># </prompt>systemctl rescue</screen> - This will eventually give you a single-user root shell. Systemd will stop - (almost) all system services. To get out of maintenance mode, just exit from - the rescue shell. - </para> -</section> diff --git a/nixos/doc/manual/administration/troubleshooting.xml b/nixos/doc/manual/administration/troubleshooting.xml index b055acadacf3..a7d731922213 100644 --- a/nixos/doc/manual/administration/troubleshooting.xml +++ b/nixos/doc/manual/administration/troubleshooting.xml @@ -9,7 +9,7 @@ you manage your NixOS system. </para> <xi:include href="../from_md/administration/boot-problems.section.xml" /> - <xi:include href="maintenance-mode.xml" /> + <xi:include href="../from_md/administration/maintenance-mode.section.xml" /> <xi:include href="rollback.xml" /> <xi:include href="store-corruption.xml" /> <xi:include href="network-problems.xml" /> |