gitlabhq/gitlab-recipes — pull request #55 by rajish (2013-02-08 11:33:58+00:00)
Title: Changed all `sudo` calls to `su --session-command=...`

Currently running the service script we see the message:

sudo: sorry, you must have a tty to run sudo

This commit fixes the problem.