25

I have not found a way to disable the automatic startup and it ends up using too much RAM when I'm not using.

The init files are not inside /etc/init or init.d.

I try update-rc.d gitlab remove and no results.

I am using GitLab 8.5.4 in Debian 8.

CSchulz
  • 10,882
  • 11
  • 60
  • 114
Natan Felles
  • 1,031
  • 1
  • 9
  • 14

1 Answers1

60

Problem is solved!

I contacted the GitLab by their official page on Facebook and here is the answer.

I am using GitLab in a Desktop and it was using ~700MB. If you too want turn off GitLab on startup, just execute in a terminal:

sudo systemctl disable gitlab-runsvdir.service
Krishna
  • 6,107
  • 2
  • 40
  • 43
Natan Felles
  • 1,031
  • 1
  • 9
  • 14
  • 1
    This seemed to undo itself some time down the line, possibly after an update. – tremby Dec 14 '17 at 04:12
  • 1
    As one might guess, re-enable GitLab using `sudo systemctl enable gitlab-runsvdir.service`. – John McGehee Aug 12 '20 at 00:03
  • This is really not ideal, as this disabled the ``gitlab-ctl`` command completely. There has to be a way to disable auto booting without disabling the ctl command as well, requiring the restoration of the service before being able to work with gitlab again. – Vinz Jan 07 '23 at 11:33