Changed sudo by su -c

See PR [#5935](https://github.com/gitlabhq/gitlabhq/pull/5935) in gitlabhq/gitlabhq for more details