Home Explore Blog CI



nixpkgs

1st chunk of `nixos/doc/manual/administration/maintenance-mode.section.md`
acf3c3e02a2cab6b83df41b87674942db75a7f8bcda143300000000100000124
# 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.

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.