From 3a3899e56b2ce538a35b4387d684dfce66e3b830 Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Sat, 23 Sep 2023 17:26:07 +0200 Subject: [PATCH] Update scripts/restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index a7250e6..77c7e7d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -45,7 +45,7 @@ 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" - +chown -R $admin:$admin "$data_dir" #================================================= # START SYSTEMD SERVICE #=================================================