Home Explore Blog Models CI



nixpkgs

nixos/doc/manual/administration/maintenance-mode.section.md
2ff9a2808f3250683098b40f49243466c6f1de79375c2e720000000300000124
# 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.

Chunks
93943337 (1st chunk of `nixos/doc/manual/administration/maintenance-mode.section.md`)
Title: Entering and Exiting Rescue Mode
Summary
This section explains how to enter and exit maintenance mode, also referred to as rescue mode, using `systemctl rescue`. This command provides a single-user root shell and stops most system services. To exit maintenance mode, simply exit the rescue shell.