mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
make the upgrade
This commit is contained in:
parent
4d27a76276
commit
091656b3b4
1 changed files with 3 additions and 1 deletions
|
@ -33,6 +33,9 @@ ynh_replace_string "YNH_WWW_PATH" "${path_url%/}/" $nginx_conf
|
||||||
ynh_replace_string "PORT" "$portNginx" $nginx_conf
|
ynh_replace_string "PORT" "$portNginx" $nginx_conf
|
||||||
sudo cp $nginx_conf /etc/nginx/conf.d/$domain.d/$app.conf
|
sudo cp $nginx_conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
|
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -yy gitlab-ce
|
||||||
|
|
||||||
# If app is public, add url to SSOWat conf as skipped_uris
|
# If app is public, add url to SSOWat conf as skipped_uris
|
||||||
if [[ $is_public -eq 1 ]]; then
|
if [[ $is_public -eq 1 ]]; then
|
||||||
# See install script
|
# See install script
|
||||||
|
@ -41,4 +44,3 @@ fi
|
||||||
|
|
||||||
# Reload nginx service
|
# Reload nginx service
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo gitlab-ctl reconfigure
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue