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:
parent
fdce679476
commit
d7796afb5e
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue