Changed sudo by su -c

See PR #5935 in gitlabhq/gitlabhq for more details