Is it possible to install and run gitlab as an restricted user?

I’ve followed the instructions set out on the download page to install the omnibus package by using yum, but I noticed after that everything is done, that it appears that gitlab is running under the root system user. I’d like to have everything related to gitlab to run under a new ‘gitlab’ user I created for it.

Is this possible? I can’t seem to find any details via Google on how to accomplish this.

Like with every packages, you have to have admin rights in order to install it, which means it installs as root.

Now, for running it as a regular user, GitLab already does that and in fact separates its several components to different users. For example the rails app runs with the git user, redis runs with the gitlab-redis user, postgres with the gitlab-psql user, etc.

In /etc/gitlab/gitlab.rb there is an option where you can change the default git user to something else, see