Home Explore Blog 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
acf3c3e0 (1st chunk of `nixos/doc/manual/administration/maintenance-mode.section.md`)
Title: Entering and Exiting Rescue Mode
Summary
The provided text describes how to enter rescue mode (also known as maintenance mode) in a systemd-based system. This is achieved by running `systemctl rescue`, which stops most system services and provides a single-user root shell. To exit rescue mode, simply exit the shell.