1
0
Fork 0
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:
ericgaspar 2021-12-16 10:09:17 +01:00
parent 0d9ac89aa5
commit 6664d0fc38
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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
#================================================= #=================================================