mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
add jwt_token
This commit is contained in:
parent
54a1f7b047
commit
dd7a2870bd
2 changed files with 10 additions and 0 deletions
2
doc/POST_INSTALL.md
Normal file
2
doc/POST_INSTALL.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
__JWT_TOKEN__
|
|
@ -69,6 +69,14 @@ ynh_script_progression --message="Generating fonts..."
|
|||
|
||||
/usr/bin/documentserver-generate-allfonts.sh
|
||||
|
||||
#=================================================
|
||||
# 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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue