1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Update install

This commit is contained in:
ericgaspar 2021-01-04 14:12:40 +01:00
parent c10f8cb01d
commit 7f3a80a9d6
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -180,10 +180,14 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --l
#=================================================
ynh_script_progression --message="Configuring SSOwat..."
# Make app public if necessary or protect it
if [ $is_public -eq 0 ]
then # Remove the public access
ynh_app_setting_delete $app skipped_uris
fi
# Make app public if necessary
if [ $is_public -eq 1 ]
then
ynh_permission_update --permission "main" --add "visitors"
ynh_app_setting_set --app=$app --key=skipped_uris --value="/"
fi
#=================================================