1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vaultwarden_ynh.git synced 2024-09-03 18:26:31 +02:00

Fix upgrade

This commit is contained in:
yalh76 2022-08-30 20:31:43 +02:00
parent 6216ae3211
commit fcaf0da5ed

View file

@ -119,6 +119,7 @@ if [ -z $datadir ]; then
mkdir -p $datadir
rsync -arz "$final_path/live/data/" "$datadir/" --delete-after --remove-source-files
ynh_secure_remove --file="$final_path/live/data"
ynh_system_user_create --username=$app --home_dir="$final_path"
chmod 750 "$datadir"
chmod -R o-rwx "$datadir"
chown -R $app:$app "$datadir"