1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00
This commit is contained in:
Éric Gaspar 2023-10-21 16:20:04 +02:00
parent 0b3e190a54
commit caceac8fad
3 changed files with 2 additions and 11 deletions

View file

@ -59,7 +59,7 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "postgresql, postgresql-contrib, libstdc++6, rabbitmq-server"
packages = "postgresql, postgresql-contrib, libstdc++6"
extras.ttf.repo = "deb http://deb.debian.org/debian/ bullseye main contrib"
extras.ttf.key = "https://ftp-master.debian.org/keys/release-bullseye.asc"

View file

@ -26,6 +26,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
ynh_backup --src_path="/etc/onlyoffice"
ynh_backup --src_path="/var/lib/onlyoffice/documentserver/App_Data/cache/files" --not_mandatory
#=================================================

View file

@ -9,8 +9,6 @@
source _common.sh
source /usr/share/yunohost/helpers
jwt_secret=$(ynh_string_random --length=32)
#=================================================
@ -67,14 +65,6 @@ ynh_script_progression --message="Generating fonts..."
/usr/bin/documentserver-generate-allfonts.sh 2>/dev/null
#=================================================
# SEND A README FOR THE ADMIN
#=================================================
ynh_script_progression --message="Sending a readme for the admin..."
jwt_token=$(documentserver-jwt-status.sh | sed "3q;d" | cut -d "-" -f 2 | tr -d ' ')
ynh_app_setting_set --app=$app --key=jwt_token --value=$jwt_token
#=================================================
# END OF SCRIPT
#=================================================