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:19:03 +01:00 committed by GitHub
parent e62ca656bb
commit aed0ddeeb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ### Then, if write authorization is needed, any access should be given only to directories
### that really need such authorization. ### that really need such authorization.
# Set permissions to app files chown -R $app: $final_path # Set permissions to app files chown -R root: $final_path
chown -R root: $final_path chown -R $app: $final_path
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE
@ -366,7 +366,7 @@ ynh_permission_create --permission="api" --url "/api" --allowed="visitors" --sho
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================
ynh_script_progression --message="Reloading NGINX web server..." --time --weight=1 ynh_script_progression --message="Reloading nginx web server..." --time --weight=1
ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=nginx --action=reload