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

add forgejo user to ssh group during restore

This commit is contained in:
Emmanuel Averty 2023-01-06 16:37:51 +01:00
parent 53aeda3d74
commit 6b9e7542a5

View file

@ -37,6 +37,8 @@ test ! -e "$final_path" || ynh_die --message "This path already contains a folde
# Add users # Add users
ynh_script_progression --message="Configuring system user..." ynh_script_progression --message="Configuring system user..."
ynh_system_user_create --username=$app --home_dir=$datadir --use_shell ynh_system_user_create --username=$app --home_dir=$datadir --use_shell
# Add ssh permission for forgejo user
adduser $app ssh.app
# Restore all files # Restore all files
ynh_script_progression --message="Restoring files..." --weight=10 ynh_script_progression --message="Restoring files..." --weight=10