Remove user directory path assumptions
Created by: mitchty
Where I work /home is an automounted nfs directory. Local users are installed in a different local directory.
So instead of assuming that /home/git is the git users home directory, use the Etc module to get the configured home directory for the Settings.gitlab['user'] value (normally git).
The new setting is named user_home, unoriginal but works well enough could be changed to whatever. Users with /home/git as their home directory will not notice a difference.
Merge request reports
Activity
Created by: mitchty
I couldn't find anywhere else besides shell scripts where /home/git is assumed for the install directory. I already custom craft those for my installation so not worried about fixing things there for the moment.
If I missed anything let me know! Just wanted to not have to do file edits to change the home directory in places anymore.
Tschuss!
By Administrator on 2013-05-22T19:20:57 (imported from GitLab project)
By Administrator on 2013-05-22T19:20:57 (imported from GitLab)