From 16f76a73017c16a0975e0af27eb1db63217531d0 Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Sat, 23 Sep 2023 17:28:00 +0200 Subject: [PATCH] Update scripts/restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 77c7e7d..2ddd84e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -45,6 +45,8 @@ mkdir -p "/var/log/$app" ynh_restore_file --origin_path="/etc/logrotate.d/$app" yunohost service add $app --description="VS Code Server" --log="/var/log/$app/$app.log" + +ynh_permission_update --permission="main" --add="$admin" chown -R $admin:$admin "$data_dir" #================================================= # START SYSTEMD SERVICE