1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/haste_ynh.git synced 2024-09-03 20:36:28 +02:00
This commit is contained in:
Éric Gaspar 2023-04-03 14:55:28 +02:00
parent 9bd06ec7f5
commit c64c720c13
3 changed files with 3 additions and 8 deletions

View file

@ -1,8 +1,3 @@
### Support multi-utilisateur
* L'authentification LDAP et HTTP est-elle prise en charge ? **Non**
* L'application peut-elle être utilisée par plusieurs utilisateurs ? **Oui**
## `haste` command
Ce paquet de Haste pour YunoHost comprend une commande [`haste`](https://github.com/diethnis/standalones/blob/master/hastebin.sh), vous permettant de partager du contenu avec le terminal :

View file

@ -37,7 +37,7 @@ ynh_backup --src_path="/etc/logrotate.d/$app"
# BACKUP DATA_DIR DIRECTORY
#=================================================
ynh_backup --src_path="$data_path" --is_big
ynh_backup --src_path="$data_dir" --is_big
#=================================================
# BACKUP BINARY

View file

@ -33,9 +33,9 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
ynh_script_progression --message="Restoring the data directory..." --weight=1
ynh_restore_file --origin_path="$data_path" --not_mandatory
ynh_restore_file --origin_path="$data_dir" --not_mandatory
chown -R $app:www-data "$data_path"
chown -R $app:www-data "$data_dir"
#=================================================
# RESTORE BINARY