mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Merge pull request #2304 from danielo515/patch-1
Update external_storage.md
This commit is contained in:
commit
71b525f54d
2 changed files with 4 additions and 4 deletions
|
@ -145,7 +145,7 @@ Puis, idéalement on passe en maintenance les applications qui pourraient être
|
|||
Exemple, pour nextcloud:
|
||||
|
||||
```bash
|
||||
sudo -u nextcloud /var/www/occ maintenance:mode --on
|
||||
sudo -u nextcloud /var/www/nextcloud/occ maintenance:mode --on
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
```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 dovecot
|
||||
```
|
||||
|
|
|
@ -146,7 +146,7 @@ Then, ideally, we switch to maintenance mode the applications that might be writ
|
|||
Example, for nextcloud:
|
||||
|
||||
```bash
|
||||
sudo -u nextcloud /var/www/occ maintenance:mode --on
|
||||
sudo -u nextcloud /var/www/nextcloud/occ maintenance:mode --on
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
```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 dovecot
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue