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