Remove the login shell option (-l) from the init.d script
Created by: cmundi
When init (as root) starts a shell as gitlab, the -l option causes the shell to attempt to read .profile in /root. Namely, privs have been dropped before the path is updated. This is wise and is expected behavior. It also has the well known side-effect of causing truthful but annoying permissions warning on stderr. If we really needed .profile, we'd be out of luck anyway. So remove the -l.