mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Fix
This commit is contained in:
parent
497937324f
commit
3e21c990b5
2 changed files with 9 additions and 7 deletions
|
@ -76,8 +76,9 @@ ynh_setup_source --dest_dir="$final_path"
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chmod 755 $final_path
|
chmod 755 $final_path
|
||||||
chown -R $app:www-data $final_path
|
|
||||||
chmod -R o-rwx $final_path
|
chmod -R o-rwx $final_path
|
||||||
|
chown -R $app:www-data $final_path
|
||||||
|
chmod 775 $final_path/{storage bootstrap/cache public/uploads}
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
|
@ -80,6 +80,13 @@ then
|
||||||
ynh_secure_remove --file="$tmpdir"
|
ynh_secure_remove --file="$tmpdir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set permissions on app files
|
||||||
|
chmod 755 $final_path
|
||||||
|
chmod -R o-rwx $final_path
|
||||||
|
chown -R $app:www-data $final_path
|
||||||
|
chmod 775 $final_path/{storage bootstrap/cache public/uploads}
|
||||||
|
chmod 600 $final_path/.env
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -115,12 +122,6 @@ pushd $final_path
|
||||||
&& php$phpversion artisan view:clear --no-interaction
|
&& php$phpversion artisan view:clear --no-interaction
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Set permissions on app files
|
|
||||||
chmod 755 $final_path
|
|
||||||
chown -R $app:www-data $final_path
|
|
||||||
chmod -R o-rwx $final_path
|
|
||||||
chmod 600 $final_path/.env
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue