Skip to content

Patch 1 - Fix for gitlab doesn't start on boot

Matthias Käppler requested to merge github/fork/jpbot/patch-1 into master

Created by: jpbot

gitlab doesn't start on boot if you follow the install instructions on Ubuntu (12.04 LTS Server - probably others). Turns out gitlab requires redis-server to be running for gitlab to be able to start. Startup script S20redis-server isn't run until after S20gitlab so gitlab fails to start on boot. Webserver will be up, bad gateway 502 error is usually seen/reported. Starting gitlab manually works (because redis-server has started). This change makes gitlab start after redis-server.

sudo update-rc.d gitlab defaults 70 30

Merge request reports