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
0d9ac89aa5
commit
6664d0fc38
1 changed files with 5 additions and 8 deletions
|
@ -82,17 +82,9 @@ then
|
||||||
# Remove the tmp directory securely
|
# Remove the tmp directory securely
|
||||||
ynh_secure_remove --file="$tmpdir"
|
ynh_secure_remove --file="$tmpdir"
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
|
||||||
#ynh_setup_source --dest_dir="$final_path"
|
|
||||||
|
|
||||||
ynh_add_config --template=../conf/.env.example --destination=$final_path/.env
|
ynh_add_config --template=../conf/.env.example --destination=$final_path/.env
|
||||||
chmod 600 $final_path/.env
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 755 $final_path
|
|
||||||
chmod -R o-rwx $final_path
|
|
||||||
chown -R $app:www-data $final_path
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -136,6 +128,11 @@ pushd $final_path
|
||||||
php$phpversion artisan view:clear --no-interaction
|
php$phpversion artisan view:clear --no-interaction
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
chmod 755 $final_path
|
||||||
|
chmod -R o-rwx $final_path
|
||||||
|
chown -R $app:www-data $final_path
|
||||||
|
chmod 600 $final_path/.env
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue