gitlabhq/gitlabhq — pull request #1165 by three18ti (2012-07-30 01:25:50+00:00)
Title: Updated MySQL docs and Ubuntu auto-install script

Hello,

I have added some additional instruction for MySQL installation/configuration that I think others may find helpful.

Additionally, I ran into an issue where running ./resque.sh as root the first time creates a PID file /home/gitlab/gitlab/tmp/pids/resque_worker.pid owned by root and prevents the service from starting/stopping via init script as the gitlab user cannot write to the PID file. Prepending a `sudo -u gitlab` resolves this issue and makes this command look uniform with all the other commands in the install instructions.

Finally, I noticed in the instructions, the first line to install all the packages includes sendmail while the install script (https://raw.github.com/gitlabhq/gitlabhq/master/doc/debian_ubuntu.sh) does not. As such, I added sendmail to the install line in the debian_ubuntu.sh install script.

Thanks,
Jon