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:
parent
e62ca656bb
commit
aed0ddeeb4
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue