mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Update restore
This commit is contained in:
parent
3b473dcaa0
commit
9b2708b9e7
1 changed files with 10 additions and 0 deletions
|
@ -90,6 +90,16 @@ chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# UPDATING A CONFIGURATION
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Updating the configuration file..." --time --weight=1
|
||||||
|
|
||||||
|
ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
|
||||||
|
|
||||||
|
chmod 400 "$final_path/.env"
|
||||||
|
chown $app:$app "$final_path/.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE MINIO
|
# RESTORE MINIO
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue