readme - make rsync_upload

This commit is contained in:
tierce 2022-02-14 22:09:46 +01:00
parent 988fe4221b
commit 5133c511f2
Signed by: tierce
GPG Key ID: 56BF2A3A07DDEB1F
1 changed files with 11 additions and 0 deletions

View File

@ -23,6 +23,17 @@
Voir chez [tharyrok](https://gitlab.domainepublic.net/Tharyrok/tharyrok-eu/-/blob/master/Makefile) si besoin.
Pour pouvoir utiliser le `make rsync_upload` il faut un peu adapter le Yunohost.
```
# usermod -a -G ssh.app my_webapp__4 # ajouter le group ssh.app à l'utilisateur de la Webapp
# nano /etc/passwd # éditer pour autoriser l'utilisation d'un terminal / rsync
Pour y changer le /usr/bin/nologin par /bin/bash pour l'utilisateur my_webapp__4
my_webapp__4:x:993:993::/var/www/my_webapp__4:/bin/bash
```
### Pour utiliser rsync_upload sur Yunohost
- installer une Custom Webapp