1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zwiicms_ynh.git synced 2024-09-03 18:06:04 +02:00

Update from example_ynh

This commit is contained in:
pp-r 2021-02-14 13:22:08 +01:00 committed by GitHub
parent aed0ddeeb4
commit af56dd3228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -222,7 +222,7 @@ ynh_add_fpm_config
# Set the app as temporarily public for curl call
#ynh_script_progression --message="Configuring SSOwat..." --time --weight=1
# Making the app public for curl
ynh_permission_update --permission="main" --add="visitors"
#ynh_permission_update --permission="main" --add="visitors"
# Reload SSOwat config
#yunohost app ssowatconf
@ -266,8 +266,8 @@ ynh_permission_update --permission="main" --remove="visitors"
### Then, if write authorization is needed, any access should be given only to directories
### that really need such authorization.
# Set permissions to app files chown -R root: $final_path
chown -R $app: $final_path
# Set permissions to app files chown -R $app: $final_path
chown -R root: $final_path
#=================================================
# SETUP LOGROTATE