mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
regenerate config file
This commit is contained in:
parent
de3bcaad93
commit
40e303f18d
2 changed files with 7 additions and 7 deletions
|
@ -2,8 +2,8 @@
|
||||||
Description=BookStack Queue Worker
|
Description=BookStack Queue Worker
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=www-data
|
User=__APP__
|
||||||
Group=www-data
|
Group=__APP__
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStart=/usr/bin/php__PHPVERSION__ __FINALPATH__/artisan queue:work --sleep=3 --tries=1 --max-time=3600
|
ExecStart=/usr/bin/php__PHPVERSION__ __FINALPATH__/artisan queue:work --sleep=3 --tries=1 --max-time=3600
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env $final_path/public/uploads $final_path/storage/uploads"
|
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/public/uploads $final_path/storage/uploads"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -138,12 +138,12 @@ ynh_install_composer
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
# ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
# app_url_domain="https://$domain${path_url%/}"
|
app_url_domain="https://$domain${path_url%/}"
|
||||||
|
|
||||||
# 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
|
chmod 600 $final_path/.env
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# FINAL BOOKSTACK INSTALL
|
# FINAL BOOKSTACK INSTALL
|
||||||
|
|
Loading…
Add table
Reference in a new issue