Update external_storage.md

This commit is contained in:
Daniel Rodríguez Rivero 2023-07-21 22:06:03 +02:00 committed by GitHub
parent efbffd6654
commit a526d834de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,7 +146,7 @@ Then, ideally, we switch to maintenance mode the applications that might be writ
Example, for nextcloud: Example, for nextcloud:
```bash ```bash
sudo -u nextcloud /var/www/occ maintenance:mode --on sudo -u nextcloud /var/www/nextcloud/occ maintenance:mode --on
``` ```
Example, for mail: Example, for mail:
@ -197,7 +197,7 @@ ls -la /var/mail/
From here you can stop maintenance mode, the command below is to be adapted depending on the services you have stopped. From here you can stop maintenance mode, the command below is to be adapted depending on the services you have stopped.
```bash ```bash
sudo -u nextcloud /var/www/occ maintenance:mode --off sudo -u nextcloud /var/www/nextcloud/occ maintenance:mode --off
systemctl start postfix systemctl start postfix
systemctl start dovecot systemctl start dovecot
``` ```