mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
fix ssh
This commit is contained in:
parent
ebc600b26e
commit
f6a3d4228c
4 changed files with 10 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
"email": "pierre@kayou.io"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.1.5"
|
||||
"yunohost": ">= 4.2.3"
|
||||
},
|
||||
"multi_instance": false,
|
||||
"services": [
|
||||
|
|
|
@ -239,6 +239,9 @@ ynh_script_progression --message="Reconfigure GitLab..." --weight=13
|
|||
|
||||
gitlab-ctl reconfigure
|
||||
|
||||
# Allow ssh for git
|
||||
usermod -a -G "ssh.app" "git"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
|
@ -156,6 +156,9 @@ ynh_systemd_action --action=restart --service_name="gitlab-runsvdir" --log_path=
|
|||
|
||||
gitlab-rake gitlab:check SANITIZE=true
|
||||
|
||||
# Allow ssh for git
|
||||
usermod -a -G "ssh.app" "git"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
|
@ -329,6 +329,9 @@ chown admin: "$config_path/gitlab-persistent.rb"
|
|||
|
||||
gitlab-ctl reconfigure
|
||||
|
||||
# Allow ssh for git
|
||||
usermod -a -G "ssh.app" "git"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue