diff --git a/.gitignore b/.gitignore index 79feded..9e97696 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ __pycache__/* output/* -template/gnuragistes/static/css/Fork-Awesome/.github -template/gnuragistes/static/css/Fork-Awesome/.gitignore diff --git a/Makefile b/Makefile index 390d044..6f02b89 100644 --- a/Makefile +++ b/Makefile @@ -10,8 +10,8 @@ PUBLISHCONF=$(BASEDIR)/publishconf.py SSH_HOST=gnuragist.es SSH_PORT=22 -SSH_USER=admin -SSH_TARGET_DIR=/var/www/my_webapp/www +SSH_USER=my_webapp__4 +SSH_TARGET_DIR=/var/www/my_webapp__4/www DEBUG ?= 0 diff --git a/README.md b/README.md index 5032512..35b3c9f 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,14 @@ Voir chez [tharyrok](https://gitlab.domainepublic.net/Tharyrok/tharyrok-eu/-/blob/master/Makefile) si besoin. +### Pour utiliser rsync_upload sur Yunohost + +- installer une Custom Webapp +- ajouter le group `ssh.app` à l'utilisateur de la Webapp `usermod -a -G ssh.app my_webapp__X` +- authoriser l'utilisation d'un terminal `nano /etc/passwd` et remplacer `/usr/bin/nologin` par `/bin/bash` pour l'utilisateur de la Webapp +- créer un dossier `.ssh` dans `/var/www/my_webapp__X/.ssh` +- copier / coller votre clé publique dans un nouveau fichiers `/var/www/my_webapp__X/.ssh/authorized_keys` + ## Ressources * [ForkAwsome cheatsheet](https://forkaweso.me/Fork-Awesome/cheatsheet/)