mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
Fixes
This commit is contained in:
parent
7b19a35da5
commit
b5b229cd86
2 changed files with 30 additions and 6 deletions
|
@ -75,12 +75,6 @@ ynh_app_setting_set --app=$app --key=overwrite_credentials --value="1"
|
||||||
ynh_app_setting_set --app=$app --key=overwrite_nginx --value="1"
|
ynh_app_setting_set --app=$app --key=overwrite_nginx --value="1"
|
||||||
ynh_app_setting_set --app=$app --key=overwrite_systemd --value="1"
|
ynh_app_setting_set --app=$app --key=overwrite_systemd --value="1"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# ACTIVATE MAINTENANCE MODE
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
ynh_maintenance_mode_ON
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -341,6 +335,9 @@ fi
|
||||||
# SEND A README FOR THE ADMIN
|
# SEND A README FOR THE ADMIN
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
# Get main domain and buid the url of the admin panel of the app.
|
||||||
|
admin_panel="https://$(grep portal_domain /etc/ssowat/conf.json | cut -d'"' -f4)/yunohost/admin/#/apps/$app"
|
||||||
|
|
||||||
if [ $mypads -eq 1 ]
|
if [ $mypads -eq 1 ]
|
||||||
then
|
then
|
||||||
Informations="You can access 2 different admin panels, for etherpad by accessing https://$domain${path_url%/}/admin and for mypads by accessing https://$domain${path_url%/}/mypads/?/admin."
|
Informations="You can access 2 different admin panels, for etherpad by accessing https://$domain${path_url%/}/admin and for mypads by accessing https://$domain${path_url%/}/mypads/?/admin."
|
||||||
|
@ -356,6 +353,9 @@ Your credentials for the admin panel are:
|
||||||
- login : $admin
|
- login : $admin
|
||||||
- password : $password
|
- password : $password
|
||||||
|
|
||||||
|
You can configure this app easily by using the experimental config-panel feature $admin_panel/config-panel.
|
||||||
|
You can also find some specific actions for this app by using the experimental action feature $admin_panel/actions.
|
||||||
|
|
||||||
If you are facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/etherpad_mypads_ynh" > mail_to_send
|
If you are facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/etherpad_mypads_ynh" > mail_to_send
|
||||||
|
|
||||||
ynh_send_readme_to_admin --app_message="mail_to_send" --recipients="$admin" --type=install
|
ynh_send_readme_to_admin --app_message="mail_to_send" --recipients="$admin" --type=install
|
||||||
|
|
|
@ -411,6 +411,30 @@ ynh_script_progression --message="Disabling maintenance mode..." --weight=5
|
||||||
|
|
||||||
ynh_maintenance_mode_OFF
|
ynh_maintenance_mode_OFF
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# SEND A README FOR THE ADMIN
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
# Get main domain and buid the url of the admin panel of the app.
|
||||||
|
admin_panel="https://$(grep portal_domain /etc/ssowat/conf.json | cut -d'"' -f4)/yunohost/admin/#/apps/$app"
|
||||||
|
|
||||||
|
if [ $mypads -eq 1 ]
|
||||||
|
then
|
||||||
|
Informations="You can access 2 different admin panels, for etherpad by accessing https://$domain${path_url%/}/admin and for mypads by accessing https://$domain${path_url%/}/mypads/?/admin."
|
||||||
|
else
|
||||||
|
Informations="You can access the admin panel by accessing https://$domain${path_url%/}/admin."
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "$Informations
|
||||||
|
Or, you can find a config file for etherpad at this path /var/www/etherpad_mypads/settings.json.
|
||||||
|
|
||||||
|
You can configure this app easily by using the experimental config-panel feature $admin_panel/config-panel.
|
||||||
|
You can also find some specific actions for this app by using the experimental action feature $admin_panel/actions.
|
||||||
|
|
||||||
|
If you are facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/etherpad_mypads_ynh" > mail_to_send
|
||||||
|
|
||||||
|
ynh_send_readme_to_admin --app_message="mail_to_send" --recipients="$admin" --type=upgrade
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue