mirror of
https://github.com/YunoHost-Apps/grist_ynh.git
synced 2024-09-03 20:36:18 +02:00
Preserve custom.env accross upgrades
This commit is contained in:
parent
7fec378df2
commit
6fdfe6850a
1 changed files with 0 additions and 4 deletions
|
@ -83,14 +83,10 @@ ynh_use_logrotate --non-append
|
|||
ynh_script_progression --message="Updating a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="default.env" --destination="$install_dir/default.env"
|
||||
ynh_add_config --template="custom.env" --destination="$data_dir/custom.env"
|
||||
|
||||
chmod 400 "$install_dir/default.env"
|
||||
chown $app:$app "$install_dir/default.env"
|
||||
|
||||
chmod 700 "$data_dir/custom.env"
|
||||
chown $app:$app "$data_dir/custom.env"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue