mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
Update install
This commit is contained in:
parent
75e7290d26
commit
3274522984
1 changed files with 9 additions and 0 deletions
|
@ -71,6 +71,15 @@ sudo gitlab-ctl reconfigure
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
# you may need to make some file and/or directory writeable by www-data (nginx user)
|
# you may need to make some file and/or directory writeable by www-data (nginx user)
|
||||||
# sudo chown -R root: $src_path
|
# sudo chown -R root: $src_path
|
||||||
|
#=================================================
|
||||||
|
# START GITLAB IN BACKGROUND
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
WARNING echo "Démarrage de gitlab"
|
||||||
|
tempfile="$(mktemp)"
|
||||||
|
tail -f -n1 /var/log/$app/gitlab.log > "$tempfile" & # Suit le démarrage dans le log
|
||||||
|
PID_TAIL=$! # Récupère le PID de la commande tail, qui est passée en arrière plan.
|
||||||
|
sudo systemctl start $app # Démarre gitlab. Le démarrage est fait le plus tôt possible, car il est très long...
|
||||||
|
|
||||||
|
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
|
|
Loading…
Reference in a new issue