Thats basically it, nothing overly special, just switched sudo for su mainly. I could test to see if i'm root and then su or then sudo but don't see a point.
Re:GitLab 6.0 Released
by sytse on Sunday August 25, 2013 @03:06AM
(#6271215)
I agree. In the installation manual most commands are 'sudo -u git', they run as the git user but they use sudo to make them foolproof (some people skip the instruction to login as the git user).
https://gist.github.com/mitchty/6b9bc8c7dd41cd925b82#file-gi...
Thats basically it, nothing overly special, just switched sudo for su mainly. I could test to see if i'm root and then su or then sudo but don't see a point.