summary refs log tree commit diff
path: root/nixos/doc/manual/administration/maintenance-mode.section.md
blob: 0aec013c0a9b1834fa8f91001cb033826e7ee6a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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.