【问题标题】:GitLab: How to disable automatic startup?GitLab:如何禁用自动启动?
【发布时间】:2016-06-20 16:34:02
【问题描述】:

我还没有找到禁用自动启动的方法,并且在我不使用时它最终使用了太多 RAM。

init 文件不在 /etc/init 或 init.d 中。

我尝试update-rc.d gitlab remove 并没有结果。

我在 Debian 8 中使用 GitLab 8.5.4。

【问题讨论】:

  • 您确定没有文件/etc/init/gitlab-runsvdir.conf 吗?
  • 感谢您的回答。不。我在 /etc/init 或 init.d 中没有任何以“gi”开头的文件。
  • 我使用本教程安装:packages.gitlab.com/gitlab/gitlab-ce/install - 手册,deb 部分

标签: debian gitlab gitlab-ci gitlab-omnibus gitlab-8


【解决方案1】:

问题解决了!

我通过他们在 Facebook 上的官方页面联系了GitLab,这是答案。

我在桌面上使用 GitLab,它使用了 ~700MB。 如果你也想在启动时关闭 GitLab,只需在终端中执行:

sudo systemctl disable gitlab-runsvdir.service

【讨论】:

  • 这似乎在一段时间后自行撤消,可能在更新之后。
  • 有人可能会猜到,使用 sudo systemctl enable gitlab-runsvdir.service 重新启用 GitLab。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2020-08-31
  • 2016-01-20
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-12-08
  • 2021-05-29
相关资源
最近更新 更多