0

I am running gitlab CE 8.2.0 on an Ubuntu 14.04 machine.

How can I prevent it from automatically starting on reboot?

I can't find anything relevant in gitlab.rb

Edit: why the negative vote? please leave a comment to explain, I am new to this site.

  • On CentOS there's a service called gitlab-runsvdir. I guess it should be the same on Ubuntu, check in /etc/init.d dir – Pierre-Alain TORET Nov 24 '15 at 13:29
  • found the startup script: /opt/gitlab/embedded/bin/runsvdir-start, managed by upstart through /etc/init/gitlab-runsvdir.conf – Stéphane Nov 24 '15 at 15:40
  • Okay it's a bit different then. I guess it's due to the fact that CentOS is powered by SystemD, whereas Ubuntu is still on Upstart. Did it work ? – Pierre-Alain TORET Nov 24 '15 at 16:01
1

To disable gitlab from autostarting in ubuntu 14.04

echo manual | sudo tee /etc/init/gitlab-runsvdir.override

how does it work?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.