mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Update install
This commit is contained in:
parent
b52d68e04f
commit
afa1479030
1 changed files with 16 additions and 16 deletions
|
@ -228,24 +228,24 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #--
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
||||
|
||||
# # Make app public if necessary or protect it
|
||||
# if [ $is_public -eq 1 ]
|
||||
# then
|
||||
# # Everyone can access the app.
|
||||
# # The "main" permission is automatically created before the install script.
|
||||
# ynh_permission_update --permission "main" --add "visitors"
|
||||
# fi
|
||||
|
||||
|
||||
# SSOwat configuration
|
||||
if [[ "$ssoenabled" -eq 0 ]]; then
|
||||
ynh_app_setting_set "$app" skipped_uris "/"
|
||||
#(cd "$final_path" && php"${phpversion}" mud.php config --xmppwhitelist="$domain")
|
||||
undo_sso_patch
|
||||
else
|
||||
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||
# Make app public if necessary or protect it
|
||||
if [ $is_public -eq 1 ]
|
||||
then
|
||||
# Everyone can access the app.
|
||||
# The "main" permission is automatically created before the install script.
|
||||
ynh_permission_update --permission "main" --add "visitors"
|
||||
fi
|
||||
|
||||
|
||||
# # SSOwat configuration
|
||||
# if [[ "$ssoenabled" -eq 0 ]]; then
|
||||
# ynh_app_setting_set "$app" skipped_uris "/"
|
||||
# #(cd "$final_path" && php"${phpversion}" mud.php config --xmppwhitelist="$domain")
|
||||
# undo_sso_patch
|
||||
# else
|
||||
# ynh_app_setting_set "$app" unprotected_uris "/"
|
||||
# fi
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue