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

Update upgrade

This commit is contained in:
Éric Gaspar 2023-10-17 13:31:59 +02:00
parent 604333d766
commit 84aeaf7028

View file

@ -52,10 +52,10 @@ yunohost service add $app --description="WebUI for BorgBackup" --log="/var/log/$
#================================================= #=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1 ynh_script_progression --message="Updating a configuration file..." --weight=1
ynh_add_config --template=".env" --destination="$install_dir/.env.local" ynh_add_config --template=".env" --destination="$install_dir/app/.env.local"
chmod 400 "$install_dir/.env.local" chmod 400 "$install_dir/app/.env.local"
chown $app:$app "$install_dir/.env.local" chown $app:$app "$install_dir/app/.env.local"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE