Merge pull request #2304 from danielo515/patch-1

Update external_storage.md
This commit is contained in:
Alexandre Aubin 2023-07-21 22:10:15 +02:00 committed by GitHub
commit 71b525f54d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -145,7 +145,7 @@ Puis, idéalement on passe en maintenance les applications qui pourraient être
Exemple, pour nextcloud: Exemple, pour nextcloud:
```bash ```bash
sudo -u nextcloud /var/www/occ maintenance:mode --on sudo -u nextcloud /var/www/nextcloud/occ maintenance:mode --on
``` ```
Exemple, pour le mail: Exemple, pour le mail:
@ -196,7 +196,7 @@ ls -la /var/mail/
A partir de là vous pouvez arréter le mode maintenance, la commande ci-dessous est à adapter selon les services que vous avez arrétés. A partir de là vous pouvez arréter le mode maintenance, la commande ci-dessous est à adapter selon les services que vous avez arrétés.
```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
``` ```

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
``` ```