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

fix add_config

This commit is contained in:
Kay0u 2021-05-31 16:03:41 +02:00
parent 79e59e4dd4
commit 79291380c4
3 changed files with 0 additions and 3 deletions

View file

@ -109,7 +109,6 @@ done
ynh_script_progression --message="Configure GitLab..." --weight=28 ynh_script_progression --message="Configure GitLab..." --weight=28
mkdir -p $config_path mkdir -p $config_path
cp -f $YNH_APP_BASEDIR/conf/gitlab.rb "$config_path/gitlab.rb"
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+") ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
domain="$new_domain" domain="$new_domain"

View file

@ -172,7 +172,6 @@ touch "$config_path/gitlab-persistent.rb"
chown root:root "$config_path/gitlab-persistent.rb" chown root:root "$config_path/gitlab-persistent.rb"
chmod 640 "$config_path/gitlab-persistent.rb" chmod 640 "$config_path/gitlab-persistent.rb"
cp -f $YNH_APP_BASEDIR/conf/gitlab.rb "$config_path/gitlab.rb"
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+") ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
generated_external_url="https://$domain${path_url%/}" generated_external_url="https://$domain${path_url%/}"

View file

@ -297,7 +297,6 @@ done
ynh_script_progression --message="Reconfigure GitLab..." --weight=13 ynh_script_progression --message="Reconfigure GitLab..." --weight=13
mkdir -p $config_path mkdir -p $config_path
cp -f $YNH_APP_BASEDIR/conf/gitlab.rb "$config_path/gitlab.rb"
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+") ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
generated_external_url="https://$domain${path_url%/}" generated_external_url="https://$domain${path_url%/}"