1
0
Fork 0
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:
Rafi59 2017-08-01 20:42:20 +02:00 committed by GitHub
parent 75e7290d26
commit 3274522984

View file

@ -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