From 6b9e7542a55cbb68f6f1a8498fdbf34e4136099d Mon Sep 17 00:00:00 2001 From: Emmanuel Averty Date: Fri, 6 Jan 2023 16:37:51 +0100 Subject: [PATCH] add forgejo user to ssh group during restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 3cf615a..d25bbff 100644 --- a/scripts/restore +++ b/scripts/restore @@ -37,6 +37,8 @@ test ! -e "$final_path" || ynh_die --message "This path already contains a folde # Add users ynh_script_progression --message="Configuring system user..." ynh_system_user_create --username=$app --home_dir=$datadir --use_shell +# Add ssh permission for forgejo user +adduser $app ssh.app # Restore all files ynh_script_progression --message="Restoring files..." --weight=10