mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Update upgrade
This commit is contained in:
parent
97cdabce91
commit
7d1a1c9742
1 changed files with 6 additions and 6 deletions
|
@ -65,12 +65,6 @@ then
|
||||||
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env"
|
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -106,6 +100,12 @@ 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…
Reference in a new issue