1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-10-09 09:59:07 +02:00
parent fdce679476
commit d7796afb5e

View file

@ -37,12 +37,6 @@ ynh_script_progression --message="Setting up source files..." --weight=7
ynh_setup_source --dest_dir="$install_dir"
# Set permissions to app files
chmod -R o-rwx $install_dir
chmod -R 775 $install_dir/storage $install_dir/bootstrap/cache $install_dir/public/uploads
chown -R $app:www-data $install_dir
#=================================================
# SYSTEM CONFIGURATION
#=================================================
@ -90,6 +84,11 @@ pushd $install_dir
php$phpversion artisan bookstack:create-admin --email="$email" --name="$admin" --external-auth-id="$admin"
popd
# Set permissions to app files
chmod -R o-rwx $install_dir
chmod -R 775 $install_dir/storage $install_dir/bootstrap/cache $install_dir/public/uploads
chown -R $app:www-data $install_dir
#=================================================
# START SYSTEMD SERVICE
#=================================================