add forgejo user to ssh group during restore
This commit is contained in:
parent
53aeda3d74
commit
6b9e7542a5
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue